24 #ifndef __LINEAR_MODEL_PREDICT_H__
25 #define __LINEAR_MODEL_PREDICT_H__
27 #include "algorithms/linear_model/linear_model_predict_types.h"
28 #include "algorithms/regression/regression_predict.h"
34 namespace linear_model
49 template<
typename algorithmFPType, Method method, CpuType cpu>
50 class BatchContainer :
public PredictionContainerIface
57 BatchContainer(daal::services::Environment::env *daalEnv);
64 services::Status compute() DAAL_C11_OVERRIDE;
82 template<
typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
83 class Batch :
public regression::prediction::Batch
86 typedef algorithms::linear_model::prediction::Input InputType;
87 typedef algorithms::linear_model::Parameter ParameterType;
88 typedef algorithms::linear_model::prediction::Result ResultType;
94 virtual int getMethod() const DAAL_C11_OVERRIDE {
return(
int)method; }
100 ResultPtr getResult() {
return ResultType::cast(_result); }
104 using interface1::Batch;
105 using interface1::BatchContainer;
daal::algorithms::linear_model::prediction::interface1::Batch::getResult
ResultPtr getResult()
Definition: linear_model_predict.h:100
daal::algorithms::linear_model::prediction::interface1::Batch
Provides methods to run implementations of the regression model-based prediction. ...
Definition: linear_model_predict.h:83
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:55
daal::algorithms::linear_model::prediction::interface1::BatchContainer::compute
services::Status compute() DAAL_C11_OVERRIDE
daal::algorithms::linear_model::prediction::interface1::BatchContainer
Class containing computation methods for the regression model-based prediction.
Definition: linear_model_predict.h:50
daal::algorithms::PredictionContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the algor...
Definition: prediction.h:42
daal::algorithms::linear_model::prediction::interface1::BatchContainer::BatchContainer
BatchContainer(daal::services::Environment::env *daalEnv)
daal::algorithms::linear_model::prediction::interface1::Batch::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: linear_model_predict.h:94