Regression Usage Model¶
A typical workflow for regression methods includes training and prediction, as explained below.
Algorithm-Specific Parameters¶
The parameters used by regression algorithms at each stage depend on a specific algorithm. For a list of these parameters, refer to the description of an appropriate regression algorithm.
Training Stage¶
![](../../../_images/training-stage-regression.png)
Regression Usage Model: Training Stage¶
At the training stage, regression algorithms accept the input described below.
Pass the Input ID
as a parameter to the methods that provide input for your algorithm.
For more details, see Algorithms.
Input ID |
Input |
---|---|
|
Pointer to the \(n \times p\) numeric table with the training data set.
This table can be an object of any class derived from |
|
Weights of the observations in the training data set. Optional argument. |
|
Pointer to the \(n \times k\) numeric table with responses (\(k\) dependent variables).
This table can be an object of any class derived from |
At the training stage, regression algorithms calculate the result described below.
Pass the Result ID
as a parameter to the methods that access the results of your algorithm.
For more details, see Algorithms.
Result ID |
Result |
---|---|
|
Pointer to the regression model being trained. The result can only be an object of the |
Prediction Stage¶
![](../../../_images/prediction-stage-regression.png)
Regression Usage Model: Prediction Stage¶
At the prediction stage, regression algorithms accept the input described below.
Pass the Input ID
as a parameter to the methods that provide input for your algorithm.
For more details, see Algorithms.
Input ID |
Input |
---|---|
|
Pointer to the \(n \times p\) numeric table with the working data set.
This table can be an object of any class derived from |
|
Pointer to the trained regression model. This input can only be an object of the |
At the prediction stage, regression algorithms calculate the result described below.
Pass the Result ID
as a parameter to the methods that access the results of your algorithm.
For more details, see Algorithms.
Result ID |
Result |
---|---|
|
Pointer to the \(n \times k\) numeric table with responses (\(k\) dependent variables). By default, this table is an object of the |