24 #ifndef __DECISION_TREE_REGRESSION_TRAINING_TYPES_H__
25 #define __DECISION_TREE_REGRESSION_TRAINING_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/data_serialize.h"
29 #include "algorithms/decision_tree/decision_tree_regression_model.h"
30 #include "algorithms/regression/regression_training_types.h"
40 namespace decision_tree
76 data = algorithms::regression::training::data,
77 dependentVariables = algorithms::regression::training::dependentVariables,
79 dependentVariablesForPruning,
80 weights = algorithms::regression::training::weights,
90 model = algorithms::regression::training::model,
104 class DAAL_EXPORT Input :
public algorithms::regression::training::Input
108 Input(
const Input &other);
115 data_management::NumericTablePtr
get(decision_tree::regression::training::InputId id)
const;
122 void set(decision_tree::regression::training::InputId
id,
const data_management::NumericTablePtr & value);
128 size_t getNumberOfFeatures()
const;
134 size_t getNumberOfDependentVariables()
const;
141 services::Status check(
const daal::algorithms::Parameter * parameter,
int method)
const DAAL_C11_OVERRIDE;
144 services::Status checkImpl(
const daal::algorithms::Parameter * parameter)
const;
151 class DAAL_EXPORT Result :
public algorithms::regression::training::Result
154 DECLARE_SERIALIZABLE_CAST(Result);
162 ModelPtr
get(ResultId id)
const;
170 template<
typename algorithmFPType>
171 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input * input,
const Parameter * parameter,
int method);
175 template<
typename Archive,
bool onDeserialize>
176 services::Status serialImpl(Archive * arch)
178 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
182 typedef services::SharedPtr<Result> ResultPtr;
183 typedef services::SharedPtr<const Result> ResultConstPtr;
187 using interface1::Input;
188 using interface1::Result;
189 using interface1::ResultPtr;
190 using interface1::ResultConstPtr;
daal::algorithms::decision_tree::regression::training::defaultDense
Definition: decision_tree_regression_training_types.h:67
daal::algorithms::decision_tree::regression::training::dataForPruning
Definition: decision_tree_regression_training_types.h:78
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:88
daal::algorithms::decision_tree::regression::training::data
Definition: decision_tree_regression_training_types.h:76
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:74
daal::algorithms::decision_tree::regression::training::dependentVariablesForPruning
Definition: decision_tree_regression_training_types.h:79
daal::algorithms::decision_tree::regression::training::Method
Method
Computation methods for Decision tree model-based training.
Definition: decision_tree_regression_training_types.h:65
daal::algorithms::decision_tree::regression::training::dependentVariables
Definition: decision_tree_regression_training_types.h:77
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:55
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:151
daal::algorithms::decision_tree::regression::training::interface1::Input
Base class for the input objects in the training stage of the regression algorithms.
Definition: decision_tree_regression_training_types.h:104
daal::algorithms::regression::training::data
Definition: regression_training_types.h:54
daal::algorithms::regression::training::model
Definition: regression_training_types.h:66
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::decision_tree::regression::training::weights
Definition: decision_tree_regression_training_types.h:80
daal::algorithms::decision_tree::regression::training::model
Definition: decision_tree_regression_training_types.h:90
daal::algorithms::regression::training::weights
Definition: regression_training_types.h:56