simpleml.models.classifiers.sklearn.base_sklearn_classifier
Base module for sklearn classifier models
Module Contents
Classes
No different than base model. Here just to maintain the pattern |
Attributes
- class simpleml.models.classifiers.sklearn.base_sklearn_classifier.SklearnClassifier(has_external_files=True, external_model_kwargs=None, params=None, fitted=False, pipeline_id=None, **kwargs)[source]
Bases:
simpleml.models.base_sklearn_model.SklearnModel
,simpleml.models.classifiers.classification_mixin.ClassificationMixin
No different than base model. Here just to maintain the pattern Generic Base -> Library Base -> Domain Base -> Individual Models (ex: [Library]Model -> SklearnModel -> SklearnClassifier -> SklearnLogisticRegression)
Need to explicitly separate passthrough kwargs to external models since most do not support arbitrary **kwargs in the constructors
Two supported patterns - full initialization in constructor or stepwise configured before fit and save