C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Result Class Reference

Provides methods to access final results obtained with the compute() method of the decision stump training algorithm in the batch processing mode. More...

Class Declaration

Member Function Documentation

DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
const int  method 
)

Allocates memory to store final results of the decision stump training algorithm

Template Parameters
algorithmFPTypeData type to store prediction results
Parameters
[in]inputInput objects for the decision stump training algorithm
[in]parameterParameters of the decision stump training algorithm
[in]methodDecision stump training method
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
int  method 
) const

Check the correctness of the Result object

Parameters
[in]inputPointer to the input object
[in]parameterPointer to the parameters structure
[in]methodAlgorithm computation method
daal::algorithms::stump::classification::ModelPtr get ( classifier::training::ResultId  id) const

Returns the model trained with the Stump algorithm

Parameters
[in]idIdentifier of the result, classifier::training::ResultId
Returns
Model trained with the Stump algorithm
data_management::NumericTablePtr get ( ResultNumericTableId  id) const

Returns the result of the stump algorithm

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier
void set ( classifier::training::ResultId  id,
daal::algorithms::stump::classification::ModelPtr &  value 
)

Sets the result of the training stage of the stump algorithm

Parameters
[in]idIdentifier of the result, classifier::training::ResultId
[in]valuePointer to the training result
void set ( ResultNumericTableId  id,
const data_management::NumericTablePtr &  value 
)

Sets the result of the stump algorithm

Parameters
[in]idIdentifier of the result
[in]valueResult

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.