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 regression trained by the stump::regression::training::Batch algorithm. More...

Static Public Member Functions

static services::SharedPtr< Modelcreate (services::Status *stat=NULL)
 

Class Declaration

References

Constructor & Destructor Documentation

Model ( )
inline

Default constructor for Model to creator

Member Function Documentation

static services::SharedPtr<Model> create ( services::Status *  stat = NULL)
static

Constructs the decision stump model

Template Parameters
modelFPTypeData type to store decision stump model data, double or float
Parameters
[out]statStatus of the model construction
Returns
Decision stump model
DAAL_EXPORT modelFPType getLeftValue ( )

Returns an average of the weighted responses for the "left" subset

Returns
Average of the weighted responses for the "left" subset
DAAL_EXPORT modelFPType getRightValue ( )

Returns an average of the weighted responses for the "right" subset

Returns
Average of the weighted responses for the "right" subset
size_t getSplitFeature ( ) const

Returns the split feature

Returns
Index of the feature over which the split is made
DAAL_EXPORT modelFPType getSplitValue ( )

Returns a value of the feature that defines the split

Returns
Value of the feature over which the split is made

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

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