View source: R/R_preprocessing.R
unscale_uncenter | R Documentation |
Given a dataframe, un scale and un center the continous features
unscale_uncenter(x, categoricalFeatureCols, colMeans, colSd)
x |
A dataframe in order to be processed. |
categoricalFeatureCols |
A vector of the categorical features, we don't want to scale/center these. Should be 1-indexed. |
colMeans |
A vector of the means to add to each column. |
colSd |
A vector of the standard deviations to rescale each column with. |
A dataset x in it's original scaling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.