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
114 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int)method; }
120 ResultPtr getResult() {
return Result::cast(_result); }
124 using interface1::Batch;
125 using interface1::BatchContainer;
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::PredictionContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the algor...
Definition: prediction.h:66
daal::algorithms::linear_model::prediction::interface1::Batch::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: linear_model_predict.h:114
daal::algorithms::classifier::prediction::prediction
Definition: classifier_predict_types.h:102
daal::algorithms::linear_model::prediction::interface1::Batch::getResult
ResultPtr getResult()
Definition: linear_model_predict.h:120