48 #ifndef __DECISION_TREE_CLASSIFICATION_TRAINING_TYPES_H__
49 #define __DECISION_TREE_CLASSIFICATION_TRAINING_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/data_serialize.h"
53 #include "algorithms/decision_tree/decision_tree_classification_model.h"
54 #include "algorithms/classifier/classifier_training_types.h"
64 namespace decision_tree
70 namespace classification
100 dataForPruning = algorithms::classifier::training::lastInputId + 1,
102 lastInputId = labelsForPruning
115 class DAAL_EXPORT Input :
public classifier::training::Input
119 Input(
const Input& other) : classifier::training::Input(other){}
121 using classifier::training::Input::get;
122 using classifier::training::Input::set;
129 data_management::NumericTablePtr
get(decision_tree::classification::training::InputId id)
const;
136 void set(decision_tree::classification::training::InputId
id,
const data_management::NumericTablePtr & value);
143 services::Status check(
const daal::algorithms::Parameter * parameter,
int method)
const DAAL_C11_OVERRIDE;
146 services::Status checkImpl(
const daal::algorithms::Parameter * parameter)
const;
149 typedef services::SharedPtr<Input> InputPtr;
150 typedef services::SharedPtr<const Input> InputConstPtr;
156 class DAAL_EXPORT Result :
public classifier::training::Result
159 DECLARE_SERIALIZABLE_CAST(Result);
167 ModelPtr
get(classifier::training::ResultId id)
const;
175 template<
typename algorithmFPType>
176 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input * input,
const Parameter * parameter,
int method);
180 template<
typename Archive,
bool onDeserialize>
181 services::Status serialImpl(Archive * arch)
183 return classifier::training::Result::serialImpl<Archive, onDeserialize>(arch);
187 typedef services::SharedPtr<Result> ResultPtr;
188 typedef services::SharedPtr<const Result> ResultConstPtr;
192 using interface1::Input;
193 using interface1::InputPtr;
194 using interface1::InputConstPtr;
195 using interface1::Result;
196 using interface1::ResultPtr;
197 using interface1::ResultConstPtr;
daal::algorithms::decision_tree::classification::training::interface1::Result
Provides methods to access the result obtained with the compute() method of Decision tree model-based...
Definition: decision_tree_classification_training_types.h:156
daal
Definition: algorithm_base_common.h:57
daal::algorithms::decision_tree::classification::training::labelsForPruning
Definition: decision_tree_classification_training_types.h:101
daal::algorithms::decision_tree::classification::training::Method
Method
Computation methods for Decision tree model-based training.
Definition: decision_tree_classification_training_types.h:89
daal::algorithms::decision_tree::classification::training::InputId
InputId
Definition: decision_tree_classification_training_types.h:98
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:106
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::decision_tree::classification::training::defaultDense
Definition: decision_tree_classification_training_types.h:91
daal::algorithms::decision_tree::classification::training::dataForPruning
Definition: decision_tree_classification_training_types.h:100