Actions3
Fit
AI-generatedSummary
Fit a StandardScaler on the specified feature columns, computing mean and standard deviation (if enabled) and returning the fitted scaler parameters.
Inputs
- main (required) — Input items; each item must contain numeric values for the columns listed in the Feature Columns parameter.
Output shape
same length as input
Each output item contains the fitted scaler information: scaler (JSON string), mean (array), scale (array), variance (array), feature_columns (array), fitted_samples (count).
Examples
Example 1: Fit scaler on columns 'age' and 'salary' with default settings.
Feature Columns: age,salary; With Mean: true; With Std: true; Output Prefix: scaled_; Python Path: python3.