Hi Everyone, I am currently using a local ML Model - XGB on a single time series. I tried using AutoDifferencing parameter. It is making output go haywire(that too in wrong direction) .. But i though AutoDifferencing will help me with the series where there is trend. Why is this happening & how to rectify this in an automated way. I cant manually change parameters every time( remove autodifferencing, add auto differencing etc)
Code i am using is as follows:
models1 = [xgb.XGBRegressor()]
fcst1 = MLForecast(
models=models1,
freq=freq,
date_features=['year', 'month', 'quarter'],
target_transforms = [AutoDifferences(max_diffs=1)],
)
fcst1.fit(df, static_features=[])
prediction = fcst1.predict(h=forecast_length)
Any help would be great.