rbbr_scaling: Scale features to [0,1] range

View source: R/rbbr_scaling.R

rbbr_scalingR Documentation

Scale features to [0,1] range

Description

Scales input features to the [0,1] interval using the 97.5th percentile of each feature. The last column (target) is not scaled.

Usage

rbbr_scaling(data)

Arguments

data

A numeric dataset. Each row is a sample and each column a feature. The target variable is expected in the last column.

Value

A dataset with scaled features (all columns except the last), capped at 0.9999.

Examples

# Load dataset
data(example_data)

# Inspect loaded data
head(MAGIC_data)

# Scale features
data_scaled <- rbbr_scaling(MAGIC_data)
head(data_scaled)


RBBR documentation built on Feb. 17, 2026, 5:07 p.m.

Related to rbbr_scaling in RBBR...