Skip to content

Scum

polars_ts.models.scum

SCUM

Bases: _TS


              flowchart TD
              polars_ts.models.scum.SCUM[SCUM]

              

              click polars_ts.models.scum.SCUM href "" "polars_ts.models.scum.SCUM"
            

fit(y, X=None)

StatsForecast will pass y as a 1D array or Series.

If you want each sub-model to see a Polars DataFrame, you'll need to re-create it here or adapt your sub-model usage.

predict(h, X=None, level=None)

StatsForecast calls this to produce out-of-sample forecasts.

Return a dictionary that at least has a key 'mean' or . If you produce multiple forecast columns, each can be put in the dictionary.

forecast(y, h, X=None, X_future=None, level=None, fitted=False)

Fit on y and forecast h steps (StatsForecast.forecast entry point).