title: How to train SVM classifier multiple times using python?
body: <p>Is it possible to train SVM classifier multiple times? So I will not manually change the parameters whenever I will run it again</p>
  
  <p>This is the code for training the model I have so far:</p>
  
  <pre><code>    dictionary = make_Dictionary(TRAIN_DIR)
  
      print("reading and processing emails from file.")
  
      features_matrix, labels = extract_features(TRAIN_DIR, dictionary)
      test_feature_matrix, test_labels = extract_features(TEST_DIR, dictionary)
  
      model = svm.SVC(kernel="poly", degree= 4, C = 0.9)
  
  
  
      print("Training Model")
  
      #train model
      model.fit(features_matrix, labels)
  
      predicted_labels = model.predict(test_feature_matrix)
  
      print("FINISHED classifying. accuracy score : ")
  
      print (accuracy_score(test_labels, predicted_labels))
  </code></pre>