The Imperfect Perfectionista
06/11/2024, 1:47 AMmodel = StatsForecast(models=[ ADIDA(),
CrostonClassic(),
IMAPA(),
TSB(alpha_d=0.2, alpha_p=0.2)], freq='W', n_jobs=-1)
The training data contains the unique_id
, and y
columns as usual, but the ds
column contains consecutive Mondays, as I want my predictions to happen weekly, on Mondays. Basically, every Monday morning, I want to forecast for that Monday, and Tue, Wed, Thu, Fri, Sat and Sun.
But when I call the predict
method after model training, it still gives me the sales forecasts on Sundays.
Is there any parameter to change this default setting?José Morales
06/11/2024, 3:17 AMfreq='W-MON'