perform_scaling | R Documentation |
Performs feature scaling without overfitting
perform_scaling(X, X_scaling = NULL, scale_features = TRUE, stat_attr = FALSE)
X |
A covariate matrix. |
X_scaling |
Existing |
scale_features |
Whether to rescale each input covariates to zero mean and unit variance before applying the model (recommended).
If |
stat_attr |
DEPRECATED. Whether to keep attributes in the returned covariate matrix itself. |
Named list containing:
X_excesses |
the (possibly rescaled and q_feat transformed) covariate matrix, |
X_scaling |
object of class |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.