Provides methods to access a partial result obtained with the compute() method of linear regression model-based training in the online or distributed processing mode.
More...
| DAAL_EXPORT services::Status allocate |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
Allocates memory to store a partial result of linear regression model-based training
- Parameters
-
| [in] | input | Input object for the algorithm |
| [in] | method | Method of linear regression model-based training |
| [in] | parameter | Parameter of linear regression model-based training |
- Returns
- Status of computations
| services::Status check |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
int |
method |
|
) |
| const |
Checks a partial result of the linear regression algorithm
- Parameters
-
| [in] | input | Input object for the algorithm |
| [in] | par | Parameter of the algorithm |
| [in] | method | Computation method |
- Returns
- Status of computations
| services::Status check |
( |
const daal::algorithms::Parameter * |
par, |
|
|
int |
method |
|
) |
| const |
Checks a partial result of the linear regression algorithm
- Parameters
-
| [in] | par | Parameter of the algorithm |
| [in] | method | Computation method |
- Returns
- Status of computations
| daal::algorithms::linear_regression::ModelPtr get |
( |
PartialResultID |
id | ) |
const |
Returns a partial result of linear regression model-based training
- Parameters
-
| [in] | id | Identifier of the partial result |
- Returns
- Partial result that corresponds to the given identifier
| size_t getNumberOfDependentVariables |
( |
| ) |
const |
Returns the number of dependent variables
- Returns
- Number of dependent variables
| size_t getNumberOfFeatures |
( |
| ) |
const |
Returns the number of columns in the input data set
- Returns
- Number of columns in the input data set
| DAAL_EXPORT services::Status initialize |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
Initializes memory to store a partial result of linear regression model-based training
- Parameters
-
| [in] | input | Input object for the algorithm |
| [in] | method | Method of linear regression model-based training |
| [in] | parameter | Parameter of linear regression model-based training |
- Returns
- Status of initialization
| void set |
( |
PartialResultID |
id, |
|
|
const daal::algorithms::linear_regression::ModelPtr & |
value |
|
) |
| |
Sets an argument of the partial result
- Parameters
-
| [in] | id | Identifier of the argument |
| [in] | value | Pointer to the argument |
The documentation for this class was generated from the following file: