This repository was archived by the owner on Jul 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Forecast works on 0.1.8 level but breaks at the 0.2.1 level #210
Copy link
Copy link
Open
Description
Issue: With the included Storage_Utilization.csv series daily data points I ran the below forecast. This works fine at the 0.1.8 level but at the 0.2.1 level the forecast skips the week 1 of Actual data and starts the forecast at week 2., thereby producing a forecast that is 7 days short.
Observations:
(1) A "snaive_wday" is chosen as the model
(2) The input data ideally should have included the whole month of October 2023 but is missing the last week of October. At the 0.1.8. level this worked fine.
#See Attached files here:
#Input Series
Storage_Utilization.csv
#Resulting Forecast
Forecasted_DF.csv
#CODE Follows:
#Convert Storage_Utilization.csv to Pandas Dataframe, name it pdf and ingest
#Forecast / extrapolate_years "fut" variable resolves to 182 days
get_forecast = forecast.run_forecast(pdf, extrapolate_years=fut, simplify_output=True, include_all_fits=False, \
find_outliers=False, l_model_trend = [forecast_models.model_linear, forecast_models.model_constant, \
forecast_models.model_exp, forecast_models.model_step, forecast_models.model_quasilinear], \
l_model_season = [forecast_models.model_null])
antlgh = len(get_forecast)
print("Forecast DF Length: " + str(antlgh))
#Output Forecasted_DF.csv for debugging
fct = specify.output_path + "Forecasted_DF" + ".csv"
get_forecast.to_csv(fct, index=False)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels