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

List of all members
ModelBuilder< method > Class Template Reference

Builder for Model of the classifier trained by the multi_class_classifier::training::Batch algorithm. More...

Class Declaration

template<training::Method method = training::oneAgainstOne>
class daal::algorithms::multi_class_classifier::interface1::ModelBuilder< method >

Template Parameters
methodComputation method for the algorithm, daal::algorithms::multi_class_classifier::training::Method

Constructor & Destructor Documentation

ModelBuilder ( size_t  nFeatures,
size_t  nClasses 
)
inline

Constructs the multi class classifier model builder

Parameters
[in]nFeaturesNumber of features in training data
[in]nClassesNumber of classes in training dataset

Member Function Documentation

ModelPtr getModel ( )
inline

Get built model

Returns
Model pointer
services::Status getStatus ( )
inline

Get status of model building

Returns
Status
void setTwoClassClassifierModel ( size_t  negativeClassIdx,
size_t  positiveClassIdx,
const classifier::ModelPtr &  model 
)
inline

Set two-class classifier model into a multi-class classifier model

Parameters
[in]negativeClassIdxIndex of negative class for one vs one classification algorithm
[in]positiveClassIdxIndex of positive class for one vs one classification algorithm
[in]modelTwo-class classifier model to add into collection

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

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