Actions10
- Accounting Actions
- Data Actions
- Finance Actions
- Prediction Actions
- Report Actions
Prediction → Train Simple Regression
AI-generatedSummary
Train a simple linear regression model on input financial data using specified independent and value columns, optionally configuring domain-specific options and forecast horizons.
Inputs
- X Column — The independent numeric variable column used as the predictor in the regression.
- Value Column — The primary numeric value column to be predicted in the regression.
- Forecast Horizon — Number of future data points to predict after training the regression model, default is 3.
- Max Forecast Horizon — Limits the maximum forecast horizon allowed, default is 12.
- Max Rows — Maximum number of input rows accepted for training, default is 1000.
- Allow Predictive Operations — Boolean flag to enable predictive operations which are disabled by default.
- Currency — Optional currency metadata forwarded to finance/report/prediction operations.
- Advanced Domain Options JSON — Optional JSON object with advanced domain-specific options forwarded to the underlying operation. No formulas or code execution.
Output shape
a single record containing the trained simple linear regression model summary and forecast results if requested
The output includes metadata summarizing the model training and may contain forecasted values based on the forecast horizon. Limitations and warnings regarding input size or column data may also be included in the result envelope.
Examples
Example 1: Train on financial time series data with date as X Column and revenue as Value Column
Set X Column to 'date', Value Column to 'revenue', enable 'Allow Predictive Operations', set 'Forecast Horizon' to 6 for six future points prediction.