Package: SARIMAInfoRF 0.1.0
SARIMAInfoRF: SARIMA-Informed Random Forest for Time Series Forecasting
Trains a Random Forest on a target blended with the forecasts of a seasonal autoregressive integrated moving average (SARIMA) model, which acts as a teacher. For squared error, the composite loss (1 - lambda) * MSE(f, y) + lambda * MSE(f, y_SARIMA), where MSE is the mean squared error, is minimised exactly by fitting the forest to the blended target z = (1 - lambda) * y + lambda * y_SARIMA. The SARIMA model is chosen automatically by the Akaike information criterion (AIC) or specified manually; the forest hyperparameters are set manually, by grid search, or by Bayesian optimisation. The best lambda is chosen on a chronological validation period. Functions for out-of-sample forecasting, accuracy measures and plots are provided. The methodology is motivated by hybrid forecasting framework proposed by Yeasin and Paul (2024) <doi:10.1007/s11227-023-05542-3>.
Authors:
SARIMAInfoRF_0.1.0.tar.gz
SARIMAInfoRF_0.1.0.zip(r-4.7-any)SARIMAInfoRF_0.1.0.zip(r-4.6-any)
SARIMAInfoRF_0.1.0.tar.gz(r-4.7-any)SARIMAInfoRF_0.1.0.tar.gz(r-4.6-any)
SARIMAInfoRF_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
SARIMAInfoRF/json (API)
| # Install 'SARIMAInfoRF' in R: |
| install.packages('SARIMAInfoRF', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:dbe1ab95b9. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 131 | ||
| source / vignettes | OK | 223 | ||
| linux-release | OK | 119 | ||
| windows-devel | OK | 86 | ||
| windows-release | OK | 69 | ||
| wasm-release | OK | 93 |
Exports:AccuracySiRFplotlambda_sirfplotSiRFpredictSiRFSiRF
Dependencies:clicolorspacecpp11farverforecastfracdiffgenericsggplot2gluegtableisobandlabelinglatticelifecyclelmtestmagrittrMatrixnlmennetR6rangerRColorBrewerRcppRcppArmadilloRcppEigenrlangS7scalestimeDateurcavctrsviridisLitewithrzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Out-of-sample accuracy of SiRF forecasts against actual values | AccuracySiRF |
| Plot the selection RMSE by lambda (bar chart) | plotlambda_sirf |
| Plot actual, fitted and forecast values for a fitted SiRF model | plotSiRF |
| Forecast future values using a fitted SiRF model | predictSiRF |
| SARIMA-Informed Random Forest (SiRF) | SiRF |
