Adds the mean values and multiplies the data by the standard deviations previously estimated from the training set.
1 | add_mean_and_sd(x, means, sds)
|
x |
Matrix, dataset to be "unscaled". |
means |
Numeric vector, mean values to be added. |
sds |
Numeric vector, standard deviations to be rescaled. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.