24 #ifndef __ADA_BOOST_TRAINING_TYPES_H__
25 #define __ADA_BOOST_TRAINING_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "algorithms/classifier/classifier_training_types.h"
29 #include "algorithms/boosting/adaboost_model.h"
68 enum ResultNumericTableId
70 weakLearnersErrors = classifier::training::model + 1,
72 lastResultNumericTableId = weakLearnersErrors
84 class DAAL_EXPORT Result :
public classifier::training::interface1::Result
87 DECLARE_SERIALIZABLE_CAST(Result);
89 DAAL_DEPRECATED_VIRTUAL
virtual ~Result() {}
97 template <
typename algorithmFPType>
98 DAAL_EXPORT DAAL_DEPRECATED services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
105 DAAL_DEPRECATED daal::algorithms::adaboost::interface1::ModelPtr
get(classifier::training::ResultId id)
const;
107 DAAL_DEPRECATED services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
111 template<
typename Archive,
bool onDeserialize>
112 services::Status serialImpl(Archive *arch)
114 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
117 typedef services::SharedPtr<interface1::Result> ResultPtr;
130 class DAAL_EXPORT Result :
public classifier::training::Result
133 DECLARE_SERIALIZABLE_CAST(Result);
144 template <
typename algorithmFPType>
145 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
152 ModelPtr
get(classifier::training::ResultId id)
const;
159 void set(classifier::training::ResultId
id,
const ModelPtr &value);
166 data_management::NumericTablePtr
get(ResultNumericTableId id)
const;
173 void set(ResultNumericTableId
id,
const data_management::NumericTablePtr &value);
175 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
179 template<
typename Archive,
bool onDeserialize>
180 services::Status serialImpl(Archive *arch)
182 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
185 typedef services::SharedPtr<Result> ResultPtr;
187 using interface2::Result;
188 using interface2::ResultPtr;
195 #endif // __ADA_BOOST_TRAINING_TYPES_H__
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:198
daal::algorithms::adaboost::training::Method
Method
Definition: adaboost_training_types.h:57
daal::algorithms::adaboost::training::interface1::Result
Provides methods to access final results obtained with the compute() method.
Definition: adaboost_training_types.h:84
daal::algorithms::adaboost::training::weakLearnersErrors
Definition: adaboost_training_types.h:70
daal::algorithms::adaboost::training::interface2::Result
Provides methods to access final results obtained with the compute() method of the AdaBoost training ...
Definition: adaboost_training_types.h:130
daal::algorithms::adaboost::training::sammeR
Definition: adaboost_training_types.h:61
daal::algorithms::adaboost::training::ResultNumericTableId
ResultNumericTableId
Available identifiers of the result of AdaBoost model-based training.
Definition: adaboost_training_types.h:68
daal::algorithms::classifier::training::model
Definition: classifier_training_types.h:84
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:82
daal::algorithms::adaboost::training::samme
Definition: adaboost_training_types.h:60
daal::algorithms::adaboost::training::defaultDense
Definition: adaboost_training_types.h:59