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

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

Base class for models trained with the Decision tree algorithm More...

Static Public Member Functions

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

Class Declaration

References

Constructor & Destructor Documentation

◆ Model()

Model ( size_t  nFeatures = 0)

Constructs the model trained with the Decision tree 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

◆ create()

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

◆ deserializeImpl()

services::Status deserializeImpl ( const data_management::OutputDataArchive archive)
protectedvirtual

Interfaces for the implementation of deserialization

Parameters
[in]archiveStorage for a deserialized object or data structure

Implements SerializationIface.

◆ getNumberOfFeatures()

size_t getNumberOfFeatures ( ) const
virtual

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

Implements Model.

◆ impl() [1/2]

const ModelImpl* impl ( ) const
inline

Returns actual model implementation

Returns
Model implementation

◆ impl() [2/2]

ModelImpl* impl ( )
inline

Returns actual model implementation

Returns
Model implementation

◆ serializeImpl()

services::Status serializeImpl ( data_management::InputDataArchive archive)
protectedvirtual

Interfaces for the implementation of serialization

Parameters
[in]archiveStorage for a serialized object or data structure

Implements SerializationIface.

◆ traverseBF()

void traverseBF ( classifier::TreeNodeVisitor visitor) const

Perform Breadth First Traversal of tree

Parameters
[in]visitorThis object gets notified when tree nodes are visited

◆ traverseDF()

void traverseDF ( classifier::TreeNodeVisitor visitor) const

Perform Depth First Traversal of tree

Parameters
[in]visitorThis object gets notified when tree nodes are visited

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

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