C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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

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

Static Public Member Functions

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

Class Declaration

References

Constructor & Destructor Documentation

◆ Model() [1/2]

DAAL_EXPORT Model ( size_t  nFeatures,
const Parameter par,
modelFPType  dummy 
)

Constructs the LogitBoost model

Template Parameters
modelFPTypeData type to store LogitBoost model data, double or float
Parameters
[in]nFeaturesNumber of features in the dataset
[in]parPointer to the parameter structure of the LogitBoost algorithm
[in]dummyDummy variable for the templated constructor
Deprecated:
This item will be removed in a future release. Use Model::create instead.

◆ Model() [2/2]

Model ( )
inline

Empty constructor for deserialization

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

Member Function Documentation

◆ create()

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

Constructs the LogitBoost model

Parameters
[in]nFeaturesNumber of features in the dataset
[in]parPointer to the parameter structure of the LogitBoost algorithm
[out]statStatus of the model construction

◆ getIterations()

size_t getIterations ( ) const

Returns the number of iterations done by the training algorithm

Returns
The number of iterations done by the training algorithm

◆ setIterations()

void setIterations ( size_t  nIterations)

Sets the number of iterations for the algorithm

Parameters
nIterationsNumber of iterations

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

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