48 #ifndef __DECISION_FOREST_CLASSIFICATION_MODEL_H__ 49 #define __DECISION_FOREST_CLASSIFICATION_MODEL_H__ 51 #include "algorithms/algorithm.h" 52 #include "algorithms/classifier/classifier_model.h" 53 #include "algorithms/classifier/tree_traverse.h" 59 namespace decision_forest
69 namespace classification
88 class DAAL_EXPORT Model :
public classifier::Model
91 DECLARE_MODEL(Model, classifier::Model)
97 virtual size_t numberOfTrees()
const = 0;
104 virtual void traverseDF(
size_t iTree, classifier::TreeNodeVisitor& visitor)
const = 0;
111 virtual void traverseBF(
size_t iTree, classifier::TreeNodeVisitor& visitor)
const = 0;
116 virtual void clear() = 0;
119 Model() : classifier::Model()
123 typedef services::SharedPtr<Model> ModelPtr;
125 using interface1::Model;
126 using interface1::ModelPtr;
daal
Definition: algorithm_base_common.h:57
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::classifier::interface1::Model
Base class for the model of the classification algorithm.
Definition: classifier_model.h:95
daal::algorithms::decision_forest::classification::interface1::Model
Model of the classifier trained by the decision_forest::training::Batch algorithm.
Definition: decision_forest_classification_model.h:88
daal::algorithms::classifier::interface1::TreeNodeVisitor
Interface of abstract visitor used in tree traversal methods.
Definition: classifier/tree_traverse.h:82