Provides methods to access prediction results obtained with the compute() method of the classifier prediction algorithm in the batch processing mode.
More...
| DAAL_EXPORT services::Status allocate |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
Allocates memory for storing prediction results of the classification algorithm
- Template Parameters
-
| algorithmFPType | Data type for storing prediction results |
- Parameters
-
| [in] | input | Pointer to the input objects of the classification algorithm |
| [in] | parameter | Pointer to the parameters of the classification algorithm |
| [in] | method | Computation method |
| services::Status check |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
int |
method |
|
) |
| const |
Checks the correctness of the Result object
- Parameters
-
| [in] | input | Pointer to the the input object |
| [in] | parameter | Pointer to the algorithm parameters |
| [in] | method | Computation method |
| data_management::NumericTablePtr get |
( |
ResultId |
id | ) |
const |
Returns the prediction result of the classification algorithm
- Parameters
-
| [in] | id | Identifier of the prediction result, ResultId |
- Returns
- Prediction result that corresponds to the given identifier
| void set |
( |
ResultId |
id, |
|
|
const data_management::NumericTablePtr & |
value |
|
) |
| |
Sets the prediction result of the classification algorithm
- Parameters
-
| [in] | id | Identifier of the prediction result, ResultId |
| [in] | value | Pointer to the prediction result |
The documentation for this class was generated from the following file: