I'm new to python and working on machine learning. I have trained LinearSVC from sklearn.svm, and training takes quite a long time, mostly because of stemming (7-8 minutes), I want to know if it is possible to save model results as some extension that can be fed as it is back to python when running the application, just to save the time of the training happening in every run of the application..
Asked
Active
Viewed 1,982 times
1 Answers
1
My Answer:-
Pickle or Joblib is used to save a trained model
For your reference, check it out the link given below.

Karthik Sekaran
- 139
- 5
-
I tried using it but I get an error. 'AttributeError: Can't get attribute 'Stemmed' on
'. Should I save my training documents as well? if so, help me to know how! :D – x200 Apr 17 '17 at 06:04 -
No. I think you need not to save your documents. Just replace the url with your training set from your local disk. That's it – Karthik Sekaran Apr 17 '17 at 06:26