48 #ifndef __LINEAR_MODEL_PREDICT_H__ 49 #define __LINEAR_MODEL_PREDICT_H__ 51 #include "algorithms/linear_model/linear_model_predict_types.h" 52 #include "algorithms/regression/regression_predict.h" 58 namespace linear_model
73 template<
typename algorithmFPType, Method method, CpuType cpu>
74 class DAAL_EXPORT BatchContainer :
public PredictionContainerIface
81 BatchContainer(daal::services::Environment::env *daalEnv);
88 services::Status compute() DAAL_C11_OVERRIDE;
106 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
107 class Batch :
public regression::prediction::Batch
110 typedef algorithms::linear_model::prediction::Input InputType;
111 typedef algorithms::linear_model::Parameter ParameterType;
112 typedef algorithms::linear_model::prediction::Result ResultType;
118 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int)method; }
124 ResultPtr getResult() {
return ResultType::cast(_result); }
128 using interface1::Batch;
129 using interface1::BatchContainer;
daal::algorithms::linear_model::prediction::interface1::Result
Provides interface for the result of the regression model-based prediction.
Definition: linear_model_predict_types.h:169
daal::services::interface1::Environment::_envStruct
The environment structure.
Definition: env_detect.h:95
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::linear_model::prediction::interface1::BatchContainer
Class containing computation methods for the regression model-based prediction.
Definition: linear_model_predict.h:74
daal::algorithms::linear_model::prediction::interface1::Batch
Provides methods to run implementations of the regression model-based prediction. ...
Definition: linear_model_predict.h:107
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:79
daal::algorithms::PredictionContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the algor...
Definition: prediction.h:66
daal::algorithms::linear_model::interface1::Parameter
Parameters for the regression algorithm.
Definition: linear_model_model.h:85
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::linear_model::prediction::interface1::Batch::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: linear_model_predict.h:118
daal::algorithms::linear_model::prediction::interface1::Batch::getResult
ResultPtr getResult()
Definition: linear_model_predict.h:124
daal::algorithms::regression::prediction::interface1::Batch
Provides methods to run implementations of the regression model-based prediction. ...
Definition: regression_predict.h:77