22 #ifndef __DECISION_TREE_REGRESSION_TRAINING_TYPES_H__
23 #define __DECISION_TREE_REGRESSION_TRAINING_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/data_serialize.h"
27 #include "algorithms/decision_tree/decision_tree_regression_model.h"
28 #include "algorithms/regression/regression_training_types.h"
38 namespace decision_tree
74 data = algorithms::regression::training::data,
75 dependentVariables = algorithms::regression::training::dependentVariables,
77 dependentVariablesForPruning ,
78 lastInputId = dependentVariablesForPruning
87 model = algorithms::regression::training::model,
101 class DAAL_EXPORT Input :
public algorithms::regression::training::Input
105 Input(
const Input &other);
112 data_management::NumericTablePtr
get(decision_tree::regression::training::InputId id)
const;
119 void set(decision_tree::regression::training::InputId
id,
const data_management::NumericTablePtr & value);
125 size_t getNumberOfFeatures()
const;
131 size_t getNumberOfDependentVariables()
const;
138 services::Status check(
const daal::algorithms::Parameter * parameter,
int method)
const DAAL_C11_OVERRIDE;
141 services::Status checkImpl(
const daal::algorithms::Parameter * parameter)
const;
148 class DAAL_EXPORT Result :
public algorithms::regression::training::Result
151 DECLARE_SERIALIZABLE_CAST(Result);
159 ModelPtr
get(ResultId id)
const;
167 template<
typename algorithmFPType>
168 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input * input,
const Parameter * parameter,
int method);
172 template<
typename Archive,
bool onDeserialize>
173 services::Status serialImpl(Archive * arch)
175 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
179 typedef services::SharedPtr<Result> ResultPtr;
180 typedef services::SharedPtr<const Result> ResultConstPtr;
184 using interface1::Input;
185 using interface1::Result;
186 using interface1::ResultPtr;
187 using interface1::ResultConstPtr;
daal::algorithms::decision_tree::regression::training::dataForPruning
Definition: decision_tree_regression_training_types.h:76
daal::algorithms::decision_tree::regression::training::dependentVariables
Definition: decision_tree_regression_training_types.h:75
daal::algorithms::decision_tree::regression::training::InputId
InputId
Available identifiers of the results in the training stage of Decision tree.
Definition: decision_tree_regression_training_types.h:72
daal::algorithms::decision_tree::regression::training::Method
Method
Computation methods for Decision tree model-based training.
Definition: decision_tree_regression_training_types.h:63
daal
Definition: algorithm_base_common.h:31
daal::algorithms::decision_tree::regression::training::data
Definition: decision_tree_regression_training_types.h:74
daal::algorithms::decision_tree::regression::training::interface1::Result
Provides methods to access the result obtained with the compute() method of Decision tree model-based...
Definition: decision_tree_regression_training_types.h:148
daal::algorithms::decision_tree::regression::training::defaultDense
Definition: decision_tree_regression_training_types.h:65
daal::algorithms::regression::training::model
Definition: regression_training_types.h:63
daal::algorithms::decision_tree::regression::training::ResultId
ResultId
Available identifiers of the result of decision tree model-based training.
Definition: decision_tree_regression_training_types.h:85
daal::algorithms::decision_tree::regression::training::dependentVariablesForPruning
Definition: decision_tree_regression_training_types.h:77
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:53
daal::algorithms::regression::training::data
Definition: regression_training_types.h:52
daal::algorithms::math::abs::value
Definition: abs_types.h:86
daal::algorithms::decision_tree::regression::training::model
Definition: decision_tree_regression_training_types.h:87