Fit
AI-generatedSummary
Fit the MinMaxScaler to the input data, computing the minimum and maximum for each specified feature column.
Inputs
- main (required) — Array of items; each item must contain numeric values for the columns listed in Feature Columns.
Output shape
single item
Contains the fitted scaler parameters and the raw scaler JSON string. Fields: scaler (JSON string), data_min, data_max, data_range, scale, min, feature_range, feature_columns, fitted_samples.
Examples
Example 1: Fit a scaler on columns 'age' and 'salary' with default range [0,1].
Set Feature Columns to 'age,salary', leave Feature Range Min/Max at defaults, and provide a valid Python Path.