scikit-learn Model: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "** ..." to "** …") |
m (Text replacement - ". ----" to ". ----") |
||
Line 8: | Line 8: | ||
** a [[PMML-based Decision Tree Model File]]. | ** a [[PMML-based Decision Tree Model File]]. | ||
* <B>See:</B> [[PMML]], [[PMML File]]. | * <B>See:</B> [[PMML]], [[PMML File]]. | ||
---- | ---- | ||
---- | ---- |
Latest revision as of 04:34, 26 September 2021
A scikit-learn Model is a Prediction Structure produced by a sckit-learn library.
- Context:
- It can range from being a Memory-based scikit-learn Prediction Structure to being a File-based scikit-learn Structure.
- Example(s):
- Counter-Example(s):
- See: PMML, PMML File.
References
2014
- http://scikit-learn.org/stable/modules/model_persistence.html#model-persistence
- After training a scikit-learn model, it is desirable to have a way to persist the model for future use without having to retrain. The following section gives you an example of how to persist a model with pickle. We’ll also review a few security and maintainability issues when working with pickle serialization. ...
... It is possible to save a model in the scikit by using Python’s built-in persistence model, namely pickle:
- After training a scikit-learn model, it is desirable to have a way to persist the model for future use without having to retrain. The following section gives you an example of how to persist a model with pickle. We’ll also review a few security and maintainability issues when working with pickle serialization. ...