Model of the classifier trained by the adaboost::training::Batch algorithm.
More...
|
template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr< Model > | create (size_t nFeatures, services::Status *stat=NULL) |
|
DAAL_EXPORT Model |
( |
size_t |
nFeatures, |
|
|
modelFPType |
dummy |
|
) |
| |
Constructs the AdaBoost model
- Template Parameters
-
modelFPType | Data type to store AdaBoost model data, double or float |
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[in] | dummy | Dummy variable for the templated constructor |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
static DAAL_EXPORT services::SharedPtr<Model> create |
( |
size_t |
nFeatures, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
static |
Constructs the AdaBoost model
- Template Parameters
-
modelFPType | Data type to store AdaBoost model data, double or float |
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[out] | stat | Status 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: