C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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...

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Member Function Documentation

◆ allocate()

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

◆ check()

services::Status check ( const daal::algorithms::Input input,
const daal::algorithms::Parameter parameter,
int  method 
) const
virtual

Check the correctness of the Result object

Parameters
[in]inputPointer to the input object
[in]parameterPointer to the parameters structure
[in]methodAlgorithm computation method

Reimplemented from Result.

◆ get()

daal::algorithms::stump::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

◆ set()

void set ( classifier::training::ResultId  id,
daal::algorithms::stump::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

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

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