Sklearn MinMax Scaler icon

Sklearn MinMax Scaler

Scale features to a given range using scikit-learn MinMaxScaler

Fit Transform

AI-generated

Summary

Fit a MinMaxScaler on specified columns and return the data with scaled versions of those columns.

Inputs

  • Main Data (required) — Input items containing the feature columns to be scaled.

Output shape

Same number of items as input.

Each item receives new columns prefixed by Output Prefix (default 'scaled_') with scaled values. The first item also includes a 'scaler' field holding the fitted scaler parameters for later reuse.

Examples

Example 1: Scale age and income columns to 0-1 range.

Feature Columns: age,income; Feature Range Min: 0; Feature Range Max: 1; Output Prefix: scaled_

Discussion