48 #ifndef __DECISION_TREE_REGRESSION_TRAINING_TYPES_H__
49 #define __DECISION_TREE_REGRESSION_TRAINING_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/data_serialize.h"
53 #include "algorithms/decision_tree/decision_tree_regression_model.h"
54 #include "algorithms/regression/regression_training_types.h"
64 namespace decision_tree
100 data = algorithms::regression::training::data,
101 dependentVariables = algorithms::regression::training::dependentVariables,
103 dependentVariablesForPruning ,
104 lastInputId = dependentVariablesForPruning
113 model = algorithms::regression::training::model,
127 class DAAL_EXPORT Input :
public algorithms::regression::training::Input
131 Input(
const Input &other);
138 data_management::NumericTablePtr
get(decision_tree::regression::training::InputId id)
const;
145 void set(decision_tree::regression::training::InputId
id,
const data_management::NumericTablePtr & value);
151 size_t getNumberOfFeatures()
const;
157 size_t getNumberOfDependentVariables()
const;
164 services::Status check(
const daal::algorithms::Parameter * parameter,
int method)
const DAAL_C11_OVERRIDE;
167 services::Status checkImpl(
const daal::algorithms::Parameter * parameter)
const;
174 class DAAL_EXPORT Result :
public algorithms::regression::training::Result
177 DECLARE_SERIALIZABLE_CAST(Result);
185 ModelPtr
get(ResultId id)
const;
193 template<
typename algorithmFPType>
194 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input * input,
const Parameter * parameter,
int method);
198 template<
typename Archive,
bool onDeserialize>
199 services::Status serialImpl(Archive * arch)
201 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
205 typedef services::SharedPtr<Result> ResultPtr;
206 typedef services::SharedPtr<const Result> ResultConstPtr;
210 using interface1::Input;
211 using interface1::Result;
212 using interface1::ResultPtr;
213 using interface1::ResultConstPtr;
daal::algorithms::decision_tree::regression::training::dataForPruning
Definition: decision_tree_regression_training_types.h:102
daal::algorithms::decision_tree::regression::training::dependentVariables
Definition: decision_tree_regression_training_types.h:101
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:98
daal::algorithms::decision_tree::regression::training::Method
Method
Computation methods for Decision tree model-based training.
Definition: decision_tree_regression_training_types.h:89
daal
Definition: algorithm_base_common.h:57
daal::algorithms::decision_tree::regression::training::data
Definition: decision_tree_regression_training_types.h:100
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:174
daal::algorithms::decision_tree::regression::training::defaultDense
Definition: decision_tree_regression_training_types.h:91
daal::algorithms::regression::training::model
Definition: regression_training_types.h:89
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:111
daal::algorithms::decision_tree::regression::training::dependentVariablesForPruning
Definition: decision_tree_regression_training_types.h:103
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:79
daal::algorithms::regression::training::data
Definition: regression_training_types.h:78
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::decision_tree::regression::training::model
Definition: decision_tree_regression_training_types.h:113