Skip to content Skip to sidebar Skip to footer

Sklearn - Model Persistence Without Pkl File

I'm interested in saving the model created in Sklearn (e.g., EmpiricalCovariance, MinCovDet or OneClassSVM) and re-applying later on. I'm familiar with the option of saving a PKL f

Solution 1:

I don't think it's a hacky solution, a colleague has done a similar thing where he exports a model to be consumed by a scorer which is written in golang, and is much faster than the scikit-learn scorer. If you're worried about compatability with future versions of sklearn, you should consider using an environment manager like conda or virtualenv; in anycause this is just good software engineering practice and something you should start to get used to anyway.


Post a Comment for "Sklearn - Model Persistence Without Pkl File"