compute_horizon¶
- compute_horizon(horizon: int, forecast_params: Dict[str, Any], tsdataset: etna.datasets.tsdataset.TSDataset) int [source]¶
Compute new pipeline horizon if start_timestamp presented in forecast_params.
- Parameters
horizon (int) –
forecast_params (Dict[str, Any]) –
tsdataset (etna.datasets.tsdataset.TSDataset) –
- Return type
int