NonPredictionIntervalContextIgnorantModelMixin

class NonPredictionIntervalContextIgnorantModelMixin[source]

Bases: etna.models.mixins.ModelForecastingMixin

Mixin for models that don’t support prediction intervals and don’t need context for prediction.

Inherited-members

Methods

forecast(ts[, return_components])

Make predictions.

predict(ts[, return_components])

Make predictions with using true values as autoregression context if possible (teacher forcing).

forecast(ts: etna.datasets.tsdataset.TSDataset, return_components: bool = False) etna.datasets.tsdataset.TSDataset[source]

Make predictions.

Parameters
Returns

Dataset with predictions

Return type

etna.datasets.tsdataset.TSDataset

predict(ts: etna.datasets.tsdataset.TSDataset, return_components: bool = False) etna.datasets.tsdataset.TSDataset[source]

Make predictions with using true values as autoregression context if possible (teacher forcing).

Parameters
Returns

Dataset with predictions

Return type

etna.datasets.tsdataset.TSDataset