0 votes
1 view
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.2k 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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...