Train
AI-generatedSummary
Trains a linear regression model using scikit-learn on the input data.
Inputs
- main (required) — Input data items. Each item must contain the numeric feature columns specified in Feature Columns and the numeric target column specified in Target Column.
Output shape
array
One output item per input item, each enriched with model details and the raw JSON model string produced by Python.
Examples
Example 1: Simple regression on two features
Feature Columns: 'size,age'; Target Column: 'price'; Fit Intercept: true; Python Path: 'python3' (default).