22 #ifndef __DECISION_FOREST_CLASSIFICATION_TRAINING_TYPES_H__
23 #define __DECISION_FOREST_CLASSIFICATION_TRAINING_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "algorithms/classifier/classifier_training_types.h"
27 #include "algorithms/decision_forest/decision_forest_classification_model.h"
28 #include "algorithms/decision_forest/decision_forest_training_parameter.h"
34 namespace decision_forest
36 namespace classification
62 enum ResultNumericTableId
64 outOfBagError = classifier::training::model + 1,
68 outOfBagErrorPerObservation,
70 lastResultId = outOfBagErrorPerObservation
85 struct DAAL_EXPORT Parameter :
public classifier::Parameter,
public daal::algorithms::decision_forest::training::Parameter
88 Parameter(
size_t nClasses) : classifier::Parameter(nClasses) {}
89 services::Status check() const DAAL_C11_OVERRIDE;
99 class DAAL_EXPORT Result : public classifier::training::Result
102 DECLARE_SERIALIZABLE_CAST(Result);
112 ModelPtr
get(classifier::training::ResultId id)
const;
119 void set(classifier::training::ResultId
id,
const ModelPtr &value);
126 data_management::NumericTablePtr
get(ResultNumericTableId id)
const;
133 void set(ResultNumericTableId
id,
const data_management::NumericTablePtr &value);
142 template <
typename algorithmFPType>
143 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
152 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
156 template<
typename Archive,
bool onDeserialize>
157 services::Status serialImpl(Archive *arch)
159 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
162 typedef services::SharedPtr<Result> ResultPtr;
165 using interface1::Parameter;
166 using interface1::Result;
167 using interface1::ResultPtr;
175 #endif // __DECISION_FOREST_CLASSIFICATION_TRAINING_TYPES_H__
daal::algorithms::decision_forest::classification::training::Method
Method
Computation methods for decision forest classification model-based training.
Definition: decision_forest_classification_training_types.h:53
daal::algorithms::decision_forest::classification::training::interface1::Result
Provides methods to access final results obtained with the compute() method of the LogitBoost trainin...
Definition: decision_forest_classification_training_types.h:99
daal::algorithms::classifier::training::model
Definition: classifier_training_types.h:82
daal
Definition: algorithm_base_common.h:31
daal::algorithms::decision_forest::classification::training::outOfBagError
Definition: decision_forest_classification_training_types.h:64
daal::algorithms::decision_forest::classification::training::outOfBagErrorPerObservation
Definition: decision_forest_classification_training_types.h:68
daal::algorithms::decision_forest::classification::training::interface1::Parameter
Decision forest algorithm parameters.
Definition: decision_forest_classification_training_types.h:85
daal::algorithms::decision_forest::classification::training::variableImportance
Definition: decision_forest_classification_training_types.h:66
daal::algorithms::decision_forest::classification::training::defaultDense
Definition: decision_forest_classification_training_types.h:55
daal::algorithms::decision_forest::classification::training::ResultNumericTableId
ResultNumericTableId
Available identifiers of the result of decision forest model-based training.
Definition: decision_forest_classification_training_types.h:62
daal::algorithms::decision_forest::classification::training::interface1::Parameter::Parameter
Parameter(size_t nClasses)
Definition: decision_forest_classification_training_types.h:88
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:80
daal::algorithms::math::abs::value
Definition: abs_types.h:86