49 #ifndef __REGRESSION_TRAINING_BATCH_H__ 50 #define __REGRESSION_TRAINING_BATCH_H__ 52 #include "algorithms/regression/regression_training_types.h" 77 class DAAL_EXPORT Batch :
public Training<batch>
80 typedef algorithms::regression::training::Input InputType;
81 typedef algorithms::regression::training::Result ResultType;
88 virtual InputType* getInput() = 0;
96 services::Status setResult(
const ResultPtr& res)
98 DAAL_CHECK(res, services::ErrorNullResult)
100 _res = _result.get();
101 return services::Status();
108 ResultPtr getResult() {
return _result; }
115 using interface1::Batch;
daal::algorithms::regression::training::interface1::Result
Provides methods to access the result obtained with the compute() method of the regression model-base...
Definition: regression_training_types.h:168
daal::algorithms::regression::training::interface1::Batch::getResult
ResultPtr getResult()
Definition: regression_training_batch.h:108
daal::algorithms::regression::training::interface1::Batch::setResult
services::Status setResult(const ResultPtr &res)
Definition: regression_training_batch.h:96
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::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::regression::training::interface1::Batch
Provides methods for the regression model-based training in the batch processing mode.
Definition: regression_training_batch.h:77
daal::services::interface1::SharedPtr::get
T * get() const
Definition: daal_shared_ptr.h:332
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