25 #ifndef __WEAK_LEARNER_TRAINING_BATCH_H__
26 #define __WEAK_LEARNER_TRAINING_BATCH_H__
28 #include "algorithms/classifier/classifier_training_batch.h"
29 #include "algorithms/weak_learner/weak_learner_training_types.h"
35 namespace weak_learner
60 class DAAL_EXPORT Batch :
public classifier::training::interface1::Batch
63 typedef classifier::training::interface1::Batch super;
65 typedef super::InputType InputType;
66 typedef super::ParameterType ParameterType;
67 typedef algorithms::weak_learner::training::Result ResultType;
77 Batch(
const Batch &other) : classifier::training::interface1::Batch(other) {}
85 weak_learner::training::ResultPtr getResult()
87 return services::staticPointerCast<ResultType, classifier::training::interface1::Result>(_result);
95 services::SharedPtr<Batch> clone()
const
97 return services::SharedPtr<Batch>(cloneImpl());
101 virtual Batch * cloneImpl() const DAAL_C11_OVERRIDE = 0;
105 using interface1::Batch;
111 #endif // __WEAK_LEARNER_TRAINING_BATCH_H__
daal::algorithms::weak_learner::training::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: weak_learner_training_batch.h:95
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::classifier::training::interface1::Batch
Algorithm class for training the classifier model.
Definition: classifier_training_batch.h:58
daal::algorithms::weak_learner::training::interface1::Batch
Base class for training the weak learner model in the batch processing mode
Definition: weak_learner_training_batch.h:60
daal::algorithms::weak_learner::training::interface1::Batch::Batch
Batch(const Batch &other)
Definition: weak_learner_training_batch.h:77
daal::algorithms::weak_learner::training::interface1::Batch::getResult
weak_learner::training::ResultPtr getResult()
Definition: weak_learner_training_batch.h:85
daal::algorithms::classifier::interface1::Parameter
Base class for the parameters of the classification algorithm.
Definition: classifier_model.h:69
daal::algorithms::classifier::training::interface1::Input
Base class for the input objects in the training stage of the classification algorithms.
Definition: classifier_training_types.h:110