incrementalDimensionalityReductionUpdate: incrementalDimensionalityReductionUpdate

Description Usage Arguments Value Examples

View source: R/dimensionalityReduction.R

Description

Wrapper function for the incremental update of a dimensionality reduction model. X_base is used to initialize the dimensionality reduction model. X_update is used to incrementally update the dimensionality reduction model fitted on X_base.

Usage

1
2
3
4
5
6
7
incrementalDimensionalityReductionUpdate(
  X_base,
  X_update,
  k,
  family = DIMENSIONALITY_METHODS,
  params = list(model = NULL)
)

Arguments

X_base
  • n x N matrix containing the N time series as columns, each one of length n time steps used for the initialization of the incremental dimensionality reduction.

X_update
  • n' x N matrix containing the N time series as columns, each one of length n' time steps used for the incremental update of the dimensionality reduction model.

k
  • Number of desired factors as output - Numeric

family
  • Family of methods to use - String among those defined in DIMENSIONALITY_METHODS

params
  • Parameters to be passed to the function - List

              An (optional) pre-existing model is passed through the \code{parameters$model}.
              If NULL it will be computed by the function.
    

Value

List containing:

Examples

1
#See tests/testthat directory on https://github.com/jdestefani/ExtendedDFML

jdestefani/ExtendedDFML documentation built on Dec. 20, 2021, 10:04 p.m.