22 #ifndef __DECISION_FOREST_REGRESSION_MODEL_H__
23 #define __DECISION_FOREST_REGRESSION_MODEL_H__
25 #include "data_management/data/numeric_table.h"
26 #include "data_management/data/homogen_numeric_table.h"
27 #include "algorithms/regression/regression_model.h"
28 #include "algorithms/regression/tree_traverse.h"
34 namespace decision_forest
66 class DAAL_EXPORT Model :
public algorithms::regression::Model
69 DECLARE_MODEL(Model, algorithms::regression::Model);
75 virtual size_t numberOfTrees()
const = 0;
82 virtual void traverseDF(
size_t iTree, algorithms::regression::TreeNodeVisitor& visitor)
const = 0;
89 virtual void traverseBF(
size_t iTree, algorithms::regression::TreeNodeVisitor& visitor)
const = 0;
94 virtual void clear() = 0;
99 typedef services::SharedPtr<Model> ModelPtr;
100 typedef services::SharedPtr<const Model> ModelConstPtr;
104 using interface1::Model;
105 using interface1::ModelPtr;
106 using interface1::ModelConstPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::decision_forest::regression::interface1::Model
Base class for models trained with the decision forest regression algorithm
Definition: decision_forest_regression_model.h:66