ellisp / forecastxgb-r-package

An R package for time series models and forecasts with xgboost compatible with {forecast} S3 classes
GNU General Public License v3.0
140 stars 42 forks source link

odd behaviour when lambda = 1, decompose, differencing #30

Closed ellisp closed 7 years ago

ellisp commented 7 years ago
mod9 <- xgbar(AirPassengers, seas_method = "decompose", trend_method = "differencing", lambda = 1)
fc9 <- forecast(mod9, h = 24)
plot(fc9)

image

Whereas the same but letting lambda be chosen by the algorithm:
image

ellisp commented 7 years ago

fixed