C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

elastic_net_model.h
1 /* file: elastic_net_model.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Implementation of the class defining the elastic net model
21 //--
22 */
23 
24 #ifndef __ELASTIC_NET_MODEL_H__
25 #define __ELASTIC_NET_MODEL_H__
26 
27 #include "data_management/data/numeric_table.h"
28 #include "algorithms/linear_model/linear_model_model.h"
29 
30 namespace daal
31 {
32 namespace algorithms
33 {
39 namespace elastic_net
40 {
44 namespace interface1
45 {
56 class DAAL_EXPORT Model : public linear_model::Model
57 {
58 public:
59  DECLARE_MODEL(Model, linear_model::Model);
60 };
61 typedef services::SharedPtr<Model> ModelPtr;
62 typedef services::SharedPtr<const Model> ModelConstPtr;
64 } // namespace interface1
65 
66 using interface1::Model;
67 using interface1::ModelPtr;
68 using interface1::ModelConstPtr;
69 
80 DAAL_EXPORT services::Status checkModel(elastic_net::Model * model, const daal::algorithms::Parameter & par, size_t nBeta, size_t nResponses,
81  int method);
82 
83 } // namespace elastic_net
84 } // namespace algorithms
85 } // namespace daal
86 
87 #endif
daal::algorithms::elastic_net::checkModel
DAAL_EXPORT services::Status checkModel(elastic_net::Model *model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method)
daal::algorithms::elastic_net::training::model
Definition: elastic_net_training_types.h:109
daal::algorithms::elastic_net::interface1::Model
Base class for models trained with the elastic net algorithm
Definition: elastic_net_model.h:56

For more complete information about compiler optimizations, see our Optimization Notice.