48 #ifndef __STUMP_TRAINING_TYPES_H__ 49 #define __STUMP_TRAINING_TYPES_H__ 51 #include "algorithms/algorithm.h" 52 #include "algorithms/classifier/classifier_training_types.h" 53 #include "algorithms/weak_learner/weak_learner_training_types.h" 54 #include "algorithms/stump/stump_model.h" 95 class DAAL_EXPORT Result :
public daal::algorithms::weak_learner::training::Result
98 DECLARE_SERIALIZABLE_CAST(Result);
108 daal::algorithms::stump::ModelPtr
get(classifier::training::ResultId id)
const;
115 void set(classifier::training::ResultId id, daal::algorithms::stump::ModelPtr &value);
124 template <
typename algorithmFPType>
125 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
133 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
137 template<
typename Archive,
bool onDeserialize>
138 services::Status serialImpl(Archive *arch)
140 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
143 typedef services::SharedPtr<Result> ResultPtr;
145 using interface1::Result;
146 using interface1::ResultPtr;
153 #endif // __STUMP_TRAINING_TYPES_H__ 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::stump::training::defaultDense
Definition: stump_training_types.h:82
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
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::weak_learner::training::interface1::Result
Provides methods to access final results obtained with compute() method of Batch or finalizeCompute()...
Definition: weak_learner_training_types.h:86
daal::algorithms::stump::training::Method
Method
Definition: stump_training_types.h:80
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::stump::training::interface1::Result
Provides methods to access final results obtained with the compute() method of the decision stump tra...
Definition: stump_training_types.h:95