ForeTiS.model.averagehistorical

Module Contents

Classes

AverageHistorical

Implementation of a class for AverageHistorical.

class ForeTiS.model.averagehistorical.AverageHistorical(optuna_trial, datasets, featureset_name, pca_transform, target_column, optimize_featureset)

Bases: ForeTiS.model._baseline_model.BaselineModel

Implementation of a class for AverageHistorical.

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