48 #ifndef __REGRESSION_PREDICT_H__
49 #define __REGRESSION_PREDICT_H__
51 #include "algorithms/algorithm.h"
52 #include "algorithms/regression/regression_predict_types.h"
77 class Batch :
public daal::algorithms::Prediction
81 virtual Input* getInput() = 0;
89 services::Status setResult(
const ResultPtr& res)
91 DAAL_CHECK(res, services::ErrorNullResult)
94 return services::Status();
101 ResultPtr getResult() {
return _result; }
108 using interface1::Batch;
daal
Definition: algorithm_base_common.h:57
daal::algorithms::Prediction
Provides prediction methods depending on the model such as linear_regression::Model. The methods of the class support different computation modes: batch, distributed, and online(see ComputeMode). Classes that implement specific algorithms of the model based data prediction are derived classes of the Prediction class. The class additionally provides virtual methods for validation of input and output parameters of the algorithms.
Definition: prediction.h:76
daal::algorithms::regression::prediction::interface1::Batch::getResult
ResultPtr getResult()
Definition: regression_predict.h:101
daal::algorithms::regression::prediction::interface1::Batch::setResult
services::Status setResult(const ResultPtr &res)
Definition: regression_predict.h:89
daal::algorithms::classifier::prediction::prediction
Definition: classifier_predict_types.h:102
daal::algorithms::regression::prediction::interface1::Batch
Provides methods to run implementations of the regression model-based prediction. ...
Definition: regression_predict.h:77
daal::services::ErrorNullResult
Definition: error_indexes.h:122