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

ridge_regression_model.h
1 /* file: ridge_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 ridge regression model
21 //--
22 */
23 
24 #ifndef __RIDGE_REGRESSION_MODEL_H__
25 #define __RIDGE_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 ridge_regression
40 {
41 
45 namespace interface1
46 {
57 /* [Parameter source code] */
58 struct Parameter : public linear_model::Parameter
59 {
60 };
61 /* [Parameter source code] */
62 
69 /* [TrainParameter source code] */
70 struct DAAL_EXPORT TrainParameter : public Parameter
71 {
72  TrainParameter();
73 
74  services::Status check() const DAAL_C11_OVERRIDE;
75 
76  data_management::NumericTablePtr ridgeParameters;
77 };
78 /* [TrainParameter source code] */
79 
92 class DAAL_EXPORT Model : public linear_model::Model
93 {
94 public:
95  DAAL_CAST_OPERATOR(Model)
96 };
97 typedef services::SharedPtr<Model> ModelPtr;
98 typedef services::SharedPtr<const Model> ModelConstPtr;
100 } // namespace interface1
101 
102 using interface1::Parameter;
103 using interface1::TrainParameter;
104 using interface1::Model;
105 using interface1::ModelPtr;
106 using interface1::ModelConstPtr;
107 
118 DAAL_EXPORT services::Status checkModel(
119  ridge_regression::Model* model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method);
120 
121 } // namespace ridge_regression
122 } // namespace algorithms
123 } // namespace daal
124 
125 #endif
daal::algorithms::ridge_regression::interface1::Parameter
Parameters for the ridge regression algorithm.
Definition: ridge_regression_model.h:58
daal::algorithms::ridge_regression::checkModel
DAAL_EXPORT services::Status checkModel(ridge_regression::Model *model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method)
daal::algorithms::ridge_regression::interface1::TrainParameter::ridgeParameters
data_management::NumericTablePtr ridgeParameters
Definition: ridge_regression_model.h:76
daal::algorithms::ridge_regression::interface1::TrainParameter
Parameters for the ridge regression algorithm.
Definition: ridge_regression_model.h:70
daal::algorithms::elastic_net::training::model
Definition: elastic_net_training_types.h:109
daal::algorithms::ridge_regression::interface1::Model
Base class for models trained with the ridge regression algorithm
Definition: ridge_regression_model.h:92

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