48 #ifndef __REGRESSION_PREDICT_TYPES_H__ 49 #define __REGRESSION_PREDICT_TYPES_H__ 51 #include "data_management/data/numeric_table.h" 52 #include "algorithms/algorithm_types.h" 53 #include "algorithms/regression/regression_model.h" 76 enum NumericTableInputId
79 lastNumericTableInputId = data
88 model = lastNumericTableInputId + 1,
89 lastModelInputId = model
99 lastResultId = prediction
111 class DAAL_EXPORT Input :
public daal::algorithms::Input
115 Input(
size_t nElements = 0);
116 Input(
const Input& other);
123 data_management::NumericTablePtr
get(NumericTableInputId id)
const;
130 regression::ModelPtr
get(ModelInputId id)
const;
137 void set(NumericTableInputId id,
const data_management::NumericTablePtr &value);
144 void set(ModelInputId id,
const regression::ModelPtr &value);
151 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
159 class DAAL_EXPORT Result :
public daal::algorithms::Result
162 DECLARE_SERIALIZABLE_CAST(Result);
163 Result(
size_t nElements = 0);
170 data_management::NumericTablePtr
get(ResultId id)
const;
177 void set(ResultId id,
const data_management::NumericTablePtr &value);
187 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
191 template<
typename Archive,
bool onDeserialize>
192 services::Status serialImpl(Archive *arch)
194 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
197 typedef services::SharedPtr<Result> ResultPtr;
198 typedef services::SharedPtr<const Result> ResultConstPtr;
200 using interface1::Input;
201 using interface1::Result;
202 using interface1::ResultPtr;
203 using interface1::ResultConstPtr;
daal::algorithms::regression::prediction::interface1::Result
Provides interface for the result of the regression model-based prediction.
Definition: regression_predict_types.h:159
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::interface1::Result
Base class to represent final results of the computation. Algorithm-specific final results are repres...
Definition: algorithm_types.h:331
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:79
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
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::regression::prediction::prediction
Definition: regression_predict_types.h:98
daal::algorithms::regression::prediction::model
Definition: regression_predict_types.h:88
daal::algorithms::regression::prediction::data
Definition: regression_predict_types.h:78
daal::algorithms::regression::prediction::ResultId
ResultId
Available identifiers of the result for making the regression model-based prediction.
Definition: regression_predict_types.h:96
daal::algorithms::regression::prediction::NumericTableInputId
NumericTableInputId
Available identifiers of input numeric tables for making the regression model-based prediction...
Definition: regression_predict_types.h:76
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::regression::prediction::ModelInputId
ModelInputId
Available identifiers of input models for making the regression model-based prediction.
Definition: regression_predict_types.h:86