:py:mod:`ForeTiS.model._sklearn_model` ====================================== .. py:module:: ForeTiS.model._sklearn_model Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: ForeTiS.model._sklearn_model.SklearnModel .. py:class:: SklearnModel(optuna_trial, datasets, featureset_name, pca_transform, target_column, optimize_featureset) Bases: :py:obj:`ForeTiS.model._base_model.BaseModel`, :py:obj:`abc.ABC` Parent class based on :obj:`~ForeTiS.model._base_model.BaseModel` for all models with a sklearn-like API to share functionalities. See :obj:`~ForeTiS.model._base_model.BaseModel` for more information. **Attributes** *Inherited attributes* See :obj:`~ForeTiS.model._base_model.BaseModel` .. py:method:: retrain(retrain) Implementation of the retraining for models with sklearn-like API. See :obj:`~ForeTiS.model._base_model.BaseModel` for more information. .. py:method:: update(update, period) Implementation of the retraining for models with sklearn-like API. See :obj:`~ForeTiS.model._base_model.BaseModel` for more information .. py:method:: predict(X_in) Implementation of a prediction based on input features for models with sklearn-like API. See :obj:`~ForeTiS.model._base_model.BaseModel` for more information. .. py:method:: train_val_loop(train, val) Implementation of a train and validation loop for models with sklearn-like API. See :obj:`~ForeTiS.model._base_model.BaseModel` for more information.