48 #ifndef __GBT_CLASSIFICATION_MODEL_H__ 49 #define __GBT_CLASSIFICATION_MODEL_H__ 51 #include "algorithms/classifier/classifier_model.h" 52 #include "algorithms/regression/tree_traverse.h" 68 namespace classification
87 class DAAL_EXPORT Model :
public classifier::Model
90 DECLARE_MODEL(Model, classifier::Model)
97 static services::SharedPtr<Model> create(
size_t nFeatures, services::Status *stat = NULL);
103 virtual size_t numberOfTrees()
const = 0;
110 virtual void traverseDF(
size_t iTree, regression::TreeNodeVisitor& visitor)
const = 0;
117 virtual void traverseBF(
size_t iTree, regression::TreeNodeVisitor& visitor)
const = 0;
122 virtual void clear() = 0;
125 Model() : classifier::Model()
129 typedef services::SharedPtr<Model> ModelPtr;
131 using interface1::Model;
132 using interface1::ModelPtr;
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::regression::interface1::TreeNodeVisitor
Interface of abstract visitor used in tree traversal methods.
Definition: regression/tree_traverse.h:86
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::gbt::classification::interface1::Model
Model of the classifier trained by the gbt::training::Batch algorithm.
Definition: gbt_classification_model.h:87
daal::algorithms::classifier::interface1::Model
Base class for the model of the classification algorithm.
Definition: classifier_model.h:95