22 #ifndef __RIDGE_REGRESSION_PREDICT_TYPES_H__
23 #define __RIDGE_REGRESSION_PREDICT_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "algorithms/ridge_regression/ridge_regression_model.h"
28 #include "algorithms/linear_model/linear_model_predict_types.h"
37 namespace ridge_regression
63 enum NumericTableInputId
65 data = linear_model::prediction::data,
66 lastNumericTableInputId = data
75 model = linear_model::prediction::model,
76 lastModelInputId = model
85 prediction = linear_model::prediction::prediction,
86 lastResultId = prediction
98 class DAAL_EXPORT Input :
public linear_model::prediction::Input
105 Input(
const Input& other);
112 data_management::NumericTablePtr
get(NumericTableInputId id)
const;
119 ridge_regression::ModelPtr
get(ModelInputId id)
const;
126 void set(NumericTableInputId
id,
const data_management::NumericTablePtr &value);
133 void set(ModelInputId
id,
const ridge_regression::ModelPtr &value);
140 class DAAL_EXPORT Result :
public linear_model::prediction::Result
143 DECLARE_SERIALIZABLE_CAST(Result);
151 data_management::NumericTablePtr
get(ResultId id)
const;
158 void set(ResultId
id,
const data_management::NumericTablePtr &value);
162 template<
typename Archive,
bool onDeserialize>
163 services::Status serialImpl(Archive *arch)
165 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
168 typedef services::SharedPtr<Result> ResultPtr;
169 typedef services::SharedPtr<const Result> ResultConstPtr;
171 using interface1::Input;
172 using interface1::Result;
173 using interface1::ResultPtr;
174 using interface1::ResultConstPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::ridge_regression::prediction::NumericTableInputId
NumericTableInputId
Available identifiers of input numeric tables for making ridge regression model-based prediction...
Definition: ridge_regression_predict_types.h:63
daal::algorithms::ridge_regression::prediction::interface1::Result
Provides interface for the result of ridge regression model-based prediction.
Definition: ridge_regression_predict_types.h:140
daal::algorithms::linear_model::prediction::data
Definition: linear_model_predict_types.h:62
daal::algorithms::linear_model::prediction::prediction
Definition: linear_model_predict_types.h:82
daal::algorithms::ridge_regression::prediction::ResultId
ResultId
Available identifiers of the result for making ridge regression model-based prediction.
Definition: ridge_regression_predict_types.h:83
daal::algorithms::ridge_regression::prediction::prediction
Definition: ridge_regression_predict_types.h:85
daal::algorithms::linear_model::prediction::model
Definition: linear_model_predict_types.h:72
daal::algorithms::ridge_regression::prediction::ModelInputId
ModelInputId
Available identifiers of input models for making ridge regression model-based prediction.
Definition: ridge_regression_predict_types.h:73
daal::algorithms::ridge_regression::prediction::Method
Method
Available methods for making ridge regression model-based prediction.
Definition: ridge_regression_predict_types.h:54
daal::algorithms::math::abs::value
Definition: abs_types.h:86
daal::algorithms::ridge_regression::prediction::model
Definition: ridge_regression_predict_types.h:75
daal::algorithms::ridge_regression::prediction::data
Definition: ridge_regression_predict_types.h:65