ForeTiS.model.averageseasonallag

Module Contents

Classes

AverageSeasonal

Implementation of a class for AverageSeasonal.

class ForeTiS.model.averageseasonallag.AverageSeasonal(optuna_trial, datasets, featureset_name, pca_transform, target_column, optimize_featureset)

Bases: ForeTiS.model._baseline_model.BaselineModel

Implementation of a class for AverageSeasonal.

See BaseModel for more information on the attributes.

Parameters:
  • optuna_trial (optuna.trial.Trial)

  • datasets (list)

  • featureset_name (str)

  • pca_transform (bool)

  • target_column (str)

  • optimize_featureset (bool)

define_model()

Definition of the actual prediction model.

See BaseModel for more information.

define_hyperparams_to_tune()

See BaseModel for more information on the format.

Return type:

dict

retrain(retrain)

Implementation of the retraining for the AverageSeasonal model. See BaseModel for more information.

Parameters:

retrain (pandas.DataFrame)

update(update, period)

Implementation of the retraining for the AverageSeasonal model. See BaseModel for more information

Parameters:
  • update (pandas.DataFrame)

  • period (int)