48 #ifndef __RIDGE_REGRESSION_PREDICT_TYPES_H__ 49 #define __RIDGE_REGRESSION_PREDICT_TYPES_H__ 51 #include "algorithms/algorithm.h" 52 #include "data_management/data/numeric_table.h" 53 #include "algorithms/ridge_regression/ridge_regression_model.h" 54 #include "algorithms/linear_model/linear_model_predict_types.h" 63 namespace ridge_regression
89 enum NumericTableInputId
91 data = linear_model::prediction::data,
92 lastNumericTableInputId = data
101 model = linear_model::prediction::model,
102 lastModelInputId = model
111 prediction = linear_model::prediction::prediction,
112 lastResultId = prediction
124 class DAAL_EXPORT Input :
public linear_model::prediction::Input
131 Input(
const Input& other);
138 data_management::NumericTablePtr
get(NumericTableInputId id)
const;
145 ridge_regression::ModelPtr
get(ModelInputId id)
const;
152 void set(NumericTableInputId id,
const data_management::NumericTablePtr &value);
159 void set(ModelInputId id,
const ridge_regression::ModelPtr &value);
166 class DAAL_EXPORT Result :
public linear_model::prediction::Result
169 DECLARE_SERIALIZABLE_CAST(Result);
177 data_management::NumericTablePtr
get(ResultId id)
const;
184 void set(ResultId id,
const data_management::NumericTablePtr &value);
188 template<
typename Archive,
bool onDeserialize>
189 services::Status serialImpl(Archive *arch)
191 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
194 typedef services::SharedPtr<Result> ResultPtr;
195 typedef services::SharedPtr<const Result> ResultConstPtr;
197 using interface1::Input;
198 using interface1::Result;
199 using interface1::ResultPtr;
200 using interface1::ResultConstPtr;
daal::algorithms::ridge_regression::prediction::Method
Method
Available methods for making ridge regression model-based prediction.
Definition: ridge_regression_predict_types.h:80
daal::algorithms::linear_model::prediction::interface1::Result
Provides interface for the result of the regression model-based prediction.
Definition: linear_model_predict_types.h:169
daal::algorithms::ridge_regression::prediction::data
Definition: ridge_regression_predict_types.h:91
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::linear_model::prediction::model
Definition: linear_model_predict_types.h:98
daal::algorithms::linear_model::prediction::data
Definition: linear_model_predict_types.h:88
daal::algorithms::ridge_regression::prediction::model
Definition: ridge_regression_predict_types.h:101
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:79
daal::algorithms::ridge_regression::prediction::interface1::Result
Provides interface for the result of ridge regression model-based prediction.
Definition: ridge_regression_predict_types.h:166
daal::algorithms::linear_model::prediction::prediction
Definition: linear_model_predict_types.h:108
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:89
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::ridge_regression::prediction::prediction
Definition: ridge_regression_predict_types.h:111
daal::algorithms::math::abs::value
Definition: abs_types.h:112
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:99
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:109