24 #ifndef __REGRESSION_PREDICT_TYPES_H__
25 #define __REGRESSION_PREDICT_TYPES_H__
27 #include "data_management/data/numeric_table.h"
28 #include "algorithms/algorithm_types.h"
29 #include "algorithms/regression/regression_model.h"
52 enum NumericTableInputId
55 lastNumericTableInputId = data
64 model = lastNumericTableInputId + 1,
65 lastModelInputId = model
75 lastResultId = prediction
87 class DAAL_EXPORT Input :
public daal::algorithms::Input
91 Input(
size_t nElements = 0);
92 Input(
const Input& other);
99 data_management::NumericTablePtr
get(NumericTableInputId id)
const;
106 regression::ModelPtr
get(ModelInputId id)
const;
113 void set(NumericTableInputId
id,
const data_management::NumericTablePtr &value);
120 void set(ModelInputId
id,
const regression::ModelPtr &value);
127 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
135 class DAAL_EXPORT Result :
public daal::algorithms::Result
138 DECLARE_SERIALIZABLE_CAST(Result);
139 Result(
size_t nElements = lastResultId + 1);
146 data_management::NumericTablePtr
get(ResultId id)
const;
153 void set(ResultId
id,
const data_management::NumericTablePtr &value);
163 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
167 template<
typename Archive,
bool onDeserialize>
168 services::Status serialImpl(Archive *arch)
170 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
173 typedef services::SharedPtr<Result> ResultPtr;
174 typedef services::SharedPtr<const Result> ResultConstPtr;
176 using interface1::Input;
177 using interface1::Result;
178 using interface1::ResultPtr;
179 using interface1::ResultConstPtr;
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:55
daal::algorithms::regression::prediction::data
Definition: regression_predict_types.h:54
daal::algorithms::regression::prediction::ModelInputId
ModelInputId
Available identifiers of input models for making the regression model-based prediction.
Definition: regression_predict_types.h:62
daal::algorithms::regression::prediction::NumericTableInputId
NumericTableInputId
Available identifiers of input numeric tables for making the regression model-based prediction...
Definition: regression_predict_types.h:52
daal::algorithms::regression::prediction::prediction
Definition: regression_predict_types.h:74
daal::algorithms::regression::prediction::ResultId
ResultId
Available identifiers of the result for making the regression model-based prediction.
Definition: regression_predict_types.h:72
daal::algorithms::regression::prediction::interface1::Input
Provides an interface for input objects for making the regression model-based prediction.
Definition: regression_predict_types.h:87
daal::algorithms::regression::prediction::interface1::Result
Provides interface for the result of the regression model-based prediction.
Definition: regression_predict_types.h:135
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::regression::prediction::model
Definition: regression_predict_types.h:64