View source: R/cvRegularizeSEMInternal.R
cvScaler | R Documentation |
uses the means and standard deviations of the training set to standardize the test set. See, e.g., https://scikit-learn.org/stable/modules/cross_validation.html .
cvScaler(testSet, means, standardDeviations)
testSet |
test data set |
means |
means of the training set |
standardDeviations |
standard deviations of the training set |
scaled test set
library(lessSEM)
data <- matrix(rnorm(50),10,5)
cvScaler(testSet = data,
means = 1:5,
standardDeviations = 1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.