_TBATSAdapter

class _TBATSAdapter(model: tbats.abstract.Estimator.Estimator)[source]

Bases: etna.models.base.BaseAdapter

Inherited-members

Parameters

model (tbats.abstract.Estimator.Estimator) –

Methods

fit(df, regressors)

forecast(df, prediction_interval, quantiles)

forecast_components(df)

Estimate forecast components.

get_model()

Get internal tbats.tbats.Model model that was fitted inside etna class.

predict(df, prediction_interval, quantiles)

predict_components(df)

Estimate prediction components.

forecast_components(df: pandas.core.frame.DataFrame) pandas.core.frame.DataFrame[source]

Estimate forecast components.

Parameters

df (pandas.core.frame.DataFrame) – features dataframe

Returns

dataframe with forecast components

Return type

pandas.core.frame.DataFrame

get_model() tbats.tbats.Model.Model[source]

Get internal tbats.tbats.Model model that was fitted inside etna class.

Returns

Internal model

Return type

tbats.tbats.Model.Model

predict_components(df: pandas.core.frame.DataFrame) pandas.core.frame.DataFrame[source]

Estimate prediction components.

Parameters

df (pandas.core.frame.DataFrame) – features dataframe

Returns

dataframe with prediction components

Return type

pandas.core.frame.DataFrame