_max_n_folds_forecast

_max_n_folds_forecast(pipeline: etna.pipeline.pipeline.Pipeline, context_size: int, ts: Optional[etna.datasets.tsdataset.TSDataset] = None) int[source]

Estimate max n_folds for forecast method.

Parameters
Return type

int