48 #ifndef __DECISION_FOREST_CLASSIFICATION_TRAINING_TYPES_H__ 49 #define __DECISION_FOREST_CLASSIFICATION_TRAINING_TYPES_H__ 51 #include "algorithms/algorithm.h" 52 #include "algorithms/classifier/classifier_training_types.h" 53 #include "algorithms/decision_forest/decision_forest_classification_model.h" 54 #include "algorithms/decision_forest/decision_forest_training_parameter.h" 60 namespace decision_forest
62 namespace classification
88 enum ResultNumericTableId
90 outOfBagError = classifier::training::model + 1,
94 outOfBagErrorPerObservation,
96 lastResultId = outOfBagErrorPerObservation
111 struct DAAL_EXPORT Parameter :
public classifier::Parameter,
public daal::algorithms::decision_forest::training::Parameter
114 Parameter(
size_t nClasses) : classifier::Parameter(nClasses) {}
115 services::Status check()
const DAAL_C11_OVERRIDE;
125 class DAAL_EXPORT Result :
public classifier::training::Result
128 DECLARE_SERIALIZABLE_CAST(Result);
138 ModelPtr
get(classifier::training::ResultId id)
const;
145 void set(classifier::training::ResultId id,
const ModelPtr &value);
152 data_management::NumericTablePtr
get(ResultNumericTableId id)
const;
159 void set(ResultNumericTableId id,
const data_management::NumericTablePtr &value);
168 template <
typename algorithmFPType>
169 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
178 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
182 template<
typename Archive,
bool onDeserialize>
183 services::Status serialImpl(Archive *arch)
185 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
188 typedef services::SharedPtr<Result> ResultPtr;
191 using interface1::Parameter;
192 using interface1::Result;
193 using interface1::ResultPtr;
201 #endif // __DECISION_FOREST_CLASSIFICATION_TRAINING_TYPES_H__ 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:125
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::classifier::interface1::Parameter
Base class for the parameters of the classification algorithm.
Definition: classifier_model.h:81
daal::algorithms::decision_forest::classification::training::Method
Method
Computation methods for decision forest classification model-based training.
Definition: decision_forest_classification_training_types.h:79
daal::algorithms::decision_forest::classification::training::outOfBagErrorPerObservation
Definition: decision_forest_classification_training_types.h:94
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:88
daal::algorithms::decision_forest::classification::training::interface1::Parameter
Decision forest algorithm parameters.
Definition: decision_forest_classification_training_types.h:111
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::algorithms::classifier::training::model
Definition: classifier_training_types.h:108
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:106
daal::algorithms::decision_forest::training::interface1::Parameter
Parameters for the decision forest algorithm.
Definition: decision_forest_training_parameter.h:122
daal::algorithms::decision_forest::classification::training::defaultDense
Definition: decision_forest_classification_training_types.h:81
daal::algorithms::classifier::training::interface1::Result
Provides methods to access final results obtained with the compute() method in the batch processing m...
Definition: classifier_training_types.h:222
daal::algorithms::decision_forest::classification::training::variableImportance
Definition: decision_forest_classification_training_types.h:92
daal::algorithms::decision_forest::classification::training::outOfBagError
Definition: decision_forest_classification_training_types.h:90
daal::algorithms::decision_forest::classification::training::interface1::Parameter::Parameter
Parameter(size_t nClasses)
Definition: decision_forest_classification_training_types.h:114
daal::algorithms::math::abs::value
Definition: abs_types.h:112