Back to models
Forecaster

DontUpdate

Categorical in XInsamplePred int insampleExogenous

Turns off updates, i.e., ensures that forecaster is only fit and never updated.

Quickstart

python
from sktime.forecasting.stream import DontUpdate

estimator = DontUpdate(forecaster)

Parameters(3)

refit_intervaldifference of sktime time indices (int or timedelta), optional

interval that needs to elapse after which the first update defaults to fit default = 0, i.e., always refits, never updates if index of y seen in fit is integer or y is index-free container type,

refit_interval must be int, and is interpreted as difference of int location

if index of y seen in fit is timestamp, must be int or pd.Timedelta

if pd.Timedelta, will be interpreted as time since last refit elapsed if int, will be interpreted as number of time stamps seen since last refit

refit_window_sizedifference of sktime time indices (int or timedelta), optional
length of the data window to refit to in case update calls fit default = inf, i.e., refits to entire training data seen so far
refit_window_lagdifference of sktime indices (int or timedelta), optional
lag of the data window to refit to, w.r.t. cutoff, in case update calls fit default = 0, i.e., refit window ends with and includes cutoff