Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Machine Learning by (19k points)

My data doesn't fit into memory can I do :

model=my_model

for i in range(20)

       model.fit(X_i,Y_i)

This will delete the first 19 fit. and keep only the last one. How can I avoid this? Can I retrain a model saved and loaded? Thank you

1 Answer

0 votes
by (33.1k points)

Some models have a "warm_start" parameter, where it can initialize model parameters with the previous solution from fit().

See for instance SGDClassifier

Hope this answer helps you! For more details, Scikit Learn Algorithm Cheat Sheet.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...