After training of Machine Learning model, you need to save it for future use. In this article, I will show you 2 ways to save and load
scikit-learn
models. One method is using pickle
package, it is fast but the model can take more storage than in the second approach. The alternative is to use joblib
package, which can save some space on disk but is slower than the pickle
.
-
2 ways to save and load scikit-learn model
November 04, 2022 by Aleksandra Płońska, Piotr Płoński Scikit-learn