View source: R/zeitzeiger_cv.R
| zeitzeigerFitCv | R Documentation |
Fit a periodic spline for each feature for each fold of cross-validation.
zeitzeigerFitCv(x, time, foldid, nKnots = 3)
x |
Matrix of measurements, with observations in rows and features in columns. |
time |
Vector of values of the periodic variable for the observations, where 0 corresponds to the lowest possible value and 1 corresponds to the highest possible value. |
foldid |
Vector of values indicating the fold to which each observation belongs. |
nKnots |
Number of internal knots to use for the periodic smoothing spline. |
A list consisting of the result from zeitzeigerFit() for each fold.
zeitzeigerFit(), zeitzeigerSpcCv(), zeitzeigerPredictCv()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.