Calculate sparse principal components of time-dependent variation on cross-validationSource:
Calculate SPCs for each fold of cross-validation.
zeitzeigerSpcCv( fitResultList, nTime = 10, useSpc = TRUE, sumabsv = 1, orth = TRUE, dopar = TRUE )
Number of time-points by which to discretize the time-dependent behavior of each feature. Corresponds to the number of rows in the matrix for which the SPCs will be calculated.
Logical indicating whether to use
L1-constraint on the SPCs, passed to
Logical indicating whether to require left singular vectors be orthogonal to each other, passed to
Logical indicating whether to process the folds in parallel. Use
doParallel::registerDoParallel()to register the parallel backend.
A list consisting of the result from
zeitzeigerSpc() for each fold.