48 #ifndef __CLASSIFIER_TRAINING_BATCH_H__ 49 #define __CLASSIFIER_TRAINING_BATCH_H__ 51 #include "algorithms/algorithm.h" 52 #include "algorithms/classifier/classifier_training_types.h" 82 class Batch :
public Training<batch>
85 typedef algorithms::classifier::training::Input InputType;
86 typedef algorithms::classifier::Parameter ParameterType;
87 typedef algorithms::classifier::training::Result ResultType;
96 virtual InputType * getInput() = 0;
102 services::Status setResult(
const ResultPtr& res)
104 DAAL_CHECK(res, services::ErrorNullResult)
106 _res = _result.get();
107 return services::Status();
114 ResultPtr getResult() {
return _result; }
120 virtual services::Status resetResult() = 0;
127 services::SharedPtr<Batch> clone()
const 129 return services::SharedPtr<Batch>(cloneImpl());
134 virtual Batch * cloneImpl()
const DAAL_C11_OVERRIDE = 0;
139 using interface1::Batch;
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::classifier::training::interface1::Batch::setResult
services::Status setResult(const ResultPtr &res)
Definition: classifier_training_batch.h:102
daal::algorithms::classifier::training::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: classifier_training_batch.h:127
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::interface1::Batch::resetResult
virtual services::Status resetResult()=0
daal::services::interface1::SharedPtr::get
T * get() const
Definition: daal_shared_ptr.h:332
daal::algorithms::classifier::training::interface1::Batch
Algorithm class for training the classifier model.
Definition: classifier_training_batch.h:82
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::classifier::training::interface1::Batch::getInput
virtual InputType * getInput()=0
daal::algorithms::classifier::training::interface1::Batch::getResult
ResultPtr getResult()
Definition: classifier_training_batch.h:114
daal::services::ErrorNullResult
Definition: error_indexes.h:122
daal::algorithms::Training
Provides methods to train models that depend on the data provided. For example, these methods enable ...
Definition: training.h:86