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

lasso_regression_model.h
1 /* file: lasso_regression_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 lasso regression model
21 //--
22 */
23 
24 #ifndef __LASSO_REGRESSION_MODEL_H__
25 #define __LASSO_REGRESSION_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 lasso_regression
40 {
41 
45 namespace interface1
46 {
47 
58 class DAAL_EXPORT Model : public linear_model::Model
59 {
60 public:
61  DECLARE_MODEL(Model, linear_model::Model);
62 };
63 typedef services::SharedPtr<Model> ModelPtr;
64 typedef services::SharedPtr<const Model> ModelConstPtr;
66 } // namespace interface1
67 
68 using interface1::Model;
69 using interface1::ModelPtr;
70 using interface1::ModelConstPtr;
71 
82 DAAL_EXPORT services::Status checkModel(
83  lasso_regression::Model* model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method);
84 
85 } // namespace lasso_regression
86 } // namespace algorithms
87 } // namespace daal
88 
89 #endif
daal::algorithms::lasso_regression::interface1::Model
Base class for models trained with the lasso regression algorithm
Definition: lasso_regression_model.h:58
daal::algorithms::elastic_net::training::model
Definition: elastic_net_training_types.h:109
daal::algorithms::lasso_regression::checkModel
DAAL_EXPORT services::Status checkModel(lasso_regression::Model *model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method)

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