gmwm
gmwm copied to clipboard
V4.0 Overview
The objective of this issue is to highlight the work necessary to change the underlying structure of the GMWM package so that it is more flexible for future extensions.
Principally, there are three key abstractions that must occur:
- The numerical optimization library must be broken away from base R's
optim
function and abstracted. To achieve this, there are three routes to consider:- Integration with
RcppMLPACK
, the present work on this would mandate a more complex install process than one would hope - Creation of
RcppOptim
that isarma
focused and borrows heavily upon the tenets of optimization library found in MLPACK. - Switch to
RcppEigen
to take advantage ofRcppNumerical
- Integration with
- Move from a function-based interface to a class-based interface potentially inspired by policy-based design
- Required classes:
- TS Object: SARIMA, AR1, GM, RW, WN, QN, DR
- WV Decomp, Filters
- GMWM Routine
- Classes would be exposed to R using
RcppR6
modules.
- Required classes:
- Creation of a
virtual
package namedgmwm
that links individual method packages and the underlying computational coregmwmcore