Skip to content Skip to sidebar Skip to footer

Save Progress Between Multiple Instances Of Partial_fit In Python SGDClassifier

I've successfully followed this example for my own text classification script. The problem is I'm not looking to process pieces of a huge, but existing data set in a loop of partia

Solution 1:

Simply pickle your model and save it to disk. The other way is to dump .coef_ and .intercept_ fields (which is just two arrays) and use them as initializers when you call .fit


Post a Comment for "Save Progress Between Multiple Instances Of Partial_fit In Python SGDClassifier"