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

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

Base class for models trained with the KD-tree based kNN algorithm More...

Static Public Member Functions

static services::SharedPtr< Modelcreate (size_t nFeatures=0, services::Status *stat=NULL)
 

Class Declaration

Template Parameters
modelFPTypeData type to store KD-tree based kNN model data, double or float
References

Constructor & Destructor Documentation

Model ( size_t  nFeatures = 0)

Constructs the model trained with the KD-tree based kNN 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

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

Constructs the model trained with the boosting algorithm

Parameters
[in]nFeaturesNumber of features in the dataset
[out]statStatus of the model construction
size_t getNumberOfFeatures ( ) const

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
const ModelImpl* impl ( ) const
inline

Returns actual model implementation

Returns
Model implementation
ModelImpl* impl ( )
inline

Returns actual model implementation

Returns
Model implementation

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

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