C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

Static Public Member Functions | List of all members
Model Class Reference

Model of the classifier trained by the adaboost::training::Batch algorithm. More...

Static Public Member Functions

template<typename modelFPType >
static DAAL_EXPORT
services::SharedPtr< Model
create (size_t nFeatures, services::Status *stat=NULL)
 

Class Declaration

References

Constructor & Destructor Documentation

DAAL_EXPORT Model ( size_t  nFeatures,
modelFPType  dummy 
)

Constructs the AdaBoost model

Template Parameters
modelFPTypeData type to store AdaBoost model data, double or float
Parameters
[in]nFeaturesNumber of features in the dataset
[in]dummyDummy variable for the templated constructor
Deprecated:
This item will be removed in a future release. Use Model::create instead.
Model ( )
inline

Empty constructor for deserialization

Deprecated:
This item will be removed in a future release. Use Model::create instead.

Member Function Documentation

static DAAL_EXPORT services::SharedPtr<Model> create ( size_t  nFeatures,
services::Status *  stat = NULL 
)
static

Constructs the AdaBoost model

Template Parameters
modelFPTypeData type to store AdaBoost model data, double or float
Parameters
[in]nFeaturesNumber of features in the dataset
[out]statStatus of the model construction
data_management::NumericTablePtr getAlpha ( ) const

Returns a pointer to the array of weights of weak learners constructed during training of the AdaBoost algorithm. The size of the array equals the number of weak learners

Returns
Array of weights of weak learners.

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

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