| rbbr_scaling | R Documentation |
Scales input features to the [0,1] interval using the 97.5th percentile of each feature. The last column (target) is not scaled.
rbbr_scaling(data)
data |
A numeric dataset. Each row is a sample and each column a feature. The target variable is expected in the last column. |
A dataset with scaled features (all columns except the last), capped at 0.9999.
# Load dataset
data(example_data)
# Inspect loaded data
head(MAGIC_data)
# Scale features
data_scaled <- rbbr_scaling(MAGIC_data)
head(data_scaled)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.