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

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

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

Static Public Member Functions

static services::SharedPtr< Modelcreate (size_t nFeatures, const interface1::ParameterBase *par, services::Status *stat=NULL)
 
static services::SharedPtr< Modelcreate (size_t nFeatures, const interface2::ParameterBase *par, services::Status *stat=NULL)
 

Class Declaration

Constructor & Destructor Documentation

Model ( size_t  nFeatures,
const interface1::ParameterBase par 
)

Constructs multi-class classifier model

Parameters
[in]nFeaturesNumber of features in the dataset
[in]parParameters of the multi-class classifier algorithm
Deprecated:
This item will be removed in a future release. Use Model::create instead.
Model ( size_t  nFeatures,
const interface2::ParameterBase par 
)

Constructs multi-class classifier model

Parameters
[in]nFeaturesNumber of features in the dataset
[in]parParameters of the multi-class classifier algorithm
Deprecated:
This item will be removed in a future release. Use Model::create instead.
Model ( )

Empty constructor for deserialization

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

Member Function Documentation

static services::SharedPtr<Model> create ( size_t  nFeatures,
const interface1::ParameterBase par,
services::Status *  stat = NULL 
)
static

Constructs multi-class classifier model

Parameters
[in]nFeaturesNumber of features in the dataset
[in]parParameters of the multi-class classifier algorithm
[out]statStatus of the model construction
Returns
Multi-class classifier model
static services::SharedPtr<Model> create ( size_t  nFeatures,
const interface2::ParameterBase par,
services::Status *  stat = NULL 
)
static

Constructs multi-class classifier model

Parameters
[in]nFeaturesNumber of features in the dataset
[in]parParameters of the multi-class classifier algorithm
[out]statStatus of the model construction
Returns
Multi-class classifier model
data_management::DataCollectionPtr getMultiClassClassifierModel ( )
inline

Returns a collection of two-class classifier models in a multi-class classifier model

Returns
Collection of two-class classifier models
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 getNumberOfTwoClassClassifierModels ( ) const
inline

Returns a number of two-class classifiers associated with the model

Returns
Number of two-class classifiers associated with the model
classifier::ModelPtr getTwoClassClassifierModel ( size_t  idx) const

Returns a two-class classifier model in a multi-class classifier model

Parameters
[in]idxIndex of the two-class classifier model in a multi-class classifier model
Returns
Two-class classifier model
DAAL_DEPRECATED classifier::ModelPtr* getTwoClassClassifierModels ( )

Returns a pointer to the array of two-class classifier models in a multi-class classifier model

Returns
Pointer to the array of two-class classifier models
Deprecated:
This item will be removed in a future release. Use Model::getTwoClassClassifierModel instead.
void setTwoClassClassifierModel ( size_t  idx,
const classifier::ModelPtr &  model 
)

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

Parameters
[in]idxIndex of two-class classifier model in a collection
[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.