24 #ifndef __ELASTIC_NET_PREDICT_TYPES_H__
25 #define __ELASTIC_NET_PREDICT_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/numeric_table.h"
29 #include "algorithms/elastic_net/elastic_net_model.h"
30 #include "algorithms/linear_model/linear_model_predict_types.h"
65 enum NumericTableInputId
67 data = linear_model::prediction::data,
68 lastNumericTableInputId = data
77 model = linear_model::prediction::model,
78 lastModelInputId = model
87 prediction = linear_model::prediction::prediction,
88 lastResultId = prediction
100 class DAAL_EXPORT Input :
public linear_model::prediction::Input
107 Input(
const Input & other);
114 data_management::NumericTablePtr
get(NumericTableInputId id)
const;
121 elastic_net::ModelPtr
get(ModelInputId id)
const;
128 void set(NumericTableInputId
id,
const data_management::NumericTablePtr & value);
135 void set(ModelInputId
id,
const elastic_net::ModelPtr & value);
142 class DAAL_EXPORT Result :
public linear_model::prediction::Result
145 DECLARE_SERIALIZABLE_CAST(Result);
153 data_management::NumericTablePtr
get(ResultId id)
const;
160 void set(ResultId
id,
const data_management::NumericTablePtr & value);
164 template <
typename Archive,
bool onDeserialize>
165 services::Status serialImpl(Archive * arch)
167 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
170 typedef services::SharedPtr<Result> ResultPtr;
171 typedef services::SharedPtr<const Result> ResultConstPtr;
173 using interface1::Input;
174 using interface1::Result;
175 using interface1::ResultPtr;
176 using interface1::ResultConstPtr;
daal::algorithms::linear_model::prediction::data
Definition: linear_model_predict_types.h:64
daal::algorithms::linear_model::prediction::prediction
Definition: linear_model_predict_types.h:84
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:55
daal::algorithms::elastic_net::prediction::ResultId
ResultId
Available identifiers of the result for making elastic net model-based prediction.
Definition: elastic_net_predict_types.h:85
daal::algorithms::elastic_net::prediction::ModelInputId
ModelInputId
Available identifiers of input models for making elastic net model-based prediction.
Definition: elastic_net_predict_types.h:75
daal::algorithms::linear_model::prediction::model
Definition: linear_model_predict_types.h:74
daal::algorithms::elastic_net::prediction::prediction
Definition: elastic_net_predict_types.h:87
daal::algorithms::elastic_net::prediction::interface1::Result
Provides interface for the result of elastic net model-based prediction.
Definition: elastic_net_predict_types.h:142
daal::algorithms::elastic_net::prediction::interface1::Input
Provides an interface for input objects for making elastic net model-based prediction.
Definition: elastic_net_predict_types.h:100
daal::algorithms::elastic_net::prediction::data
Definition: elastic_net_predict_types.h:67
daal::algorithms::elastic_net::prediction::model
Definition: elastic_net_predict_types.h:77
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::elastic_net::prediction::NumericTableInputId
NumericTableInputId
Available identifiers of input numeric tables for making elastic net model-based prediction.
Definition: elastic_net_predict_types.h:65
daal::algorithms::elastic_net::prediction::Method
Method
Available methods for making elastic net model-based prediction.
Definition: elastic_net_predict_types.h:56