The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Implements a Random Walk (RW)-informed Long Short-Term Memory (LSTM) network for univariate time series forecasting. The LSTM is trained on the full series with a composite loss that blends the usual mean squared error (MSE) between predictions and observations with the MSE between predictions and the fitted Random Walk, weighted by a parameter lambda (0 gives a standard LSTM, 1 gives a fully RW-guided LSTM). The Random Walk, either simple or with drift, is selected automatically by its in-sample root mean squared error (RMSE), and the lambda value with the lowest training RMSE is retained. The LSTM hyperparameters can be supplied manually or tuned by grid search, and 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>.
| Version: | 0.1.0 |
| Imports: | torch (≥ 0.11.0), coro, ggplot2 (≥ 3.4.0), cli (≥ 3.6.0), stats, utils |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-10-29 |
| DOI: | 10.32614/CRAN.package.RWInfoLSTM (may not be active yet) |
| Author: | Md Yeasin [aut], Ranjit Kumar Paul [aut, cre], Pushkar Bora [aut] |
| Maintainer: | Ranjit Kumar Paul <ranjitstat at gmail.com> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| CRAN checks: | RWInfoLSTM results |
| Reference manual: | RWInfoLSTM.html , RWInfoLSTM.pdf |
| Package source: | RWInfoLSTM_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: RWInfoLSTM_0.1.0.zip, r-oldrel: not available |
| macOS binaries: | r-release (arm64): RWInfoLSTM_0.1.0.tgz, r-oldrel (arm64): RWInfoLSTM_0.1.0.tgz, r-release (x86_64): RWInfoLSTM_0.1.0.tgz, r-oldrel (x86_64): RWInfoLSTM_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=RWInfoLSTM to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.