Description Usage Arguments Value Examples
This function scales numerical features based on scaling requirement(standardization, minmax Scaling) in a data.frame
1 | scaler(X_train, X_valid, X_test, scaler_type)
|
X_train |
data.frame |
X_valid |
data.frame |
X_test |
data.frame |
scaler_type |
character |
data.frame of data.frames
1 2 3 4 | X_train <- data.frame('a' = c(1,2,3), 'b' = c(5,6,3), 'c' = c(2,1,10))
X_test <- data.frame('a' = c(1,5,3), 'b' = c(5,6,5), 'c' = c(2,5,10))
X_Valid <- data.frame('a' = c(5,5,3), 'b' = c(5,6,5), 'c' = c(2,5,10))
scaled_df <- scaler(X_train, X_Valid, X_test, scaler_type='standardization')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.