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

List of all members
Model Class Reference

Base class for boosting algorithm models. Contains a collection of weak learner models constructed during training of the boosting algorithm More...

Class Declaration

Constructor & Destructor Documentation

Model ( size_t  nFeatures = 0)
inline

Constructs the model trained with the boosting algorithm

Parameters
[in]nFeaturesNumber of features in the dataset
Deprecated:
This item will be removed in a future release. Use Model::create instead.

Member Function Documentation

void addWeakLearnerModel ( weak_learner::ModelPtr  model)

Add weak learner model into the boosting model

Parameters
[in]modelWeak learner model to add into collection
size_t getNumberOfFeatures ( ) const
inline

Retrieves the number of features in the dataset was used on the training stage

Returns
Number of features in the dataset was used on the training stage
size_t getNumberOfWeakLearners ( ) const

Returns the number of weak learners constructed during training of the boosting algorithm

Returns
The number of weak learners
weak_learner::ModelPtr getWeakLearnerModel ( size_t  idx) const

Returns weak learner model constructed during training of the boosting algorithm

Parameters
[in]idxIndex of the model in the collection
Returns
Weak Learner model corresponding to the index idx

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

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