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

linear_regression_model.h
1 /* file: linear_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 linear regression model
21 //--
22 */
23 
24 #ifndef __LINEAR_REGRESSION_MODEL_H__
25 #define __LINEAR_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 linear_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 
75 class DAAL_EXPORT Model : public linear_model::Model
76 {
77 public:
78  DAAL_CAST_OPERATOR(Model)
79 };
80 typedef services::SharedPtr<Model> ModelPtr;
81 typedef services::SharedPtr<const Model> ModelConstPtr;
83 } // namespace interface1
84 using interface1::Parameter;
85 using interface1::Model;
86 using interface1::ModelPtr;
87 using interface1::ModelConstPtr;
88 
99 DAAL_EXPORT services::Status checkModel(
100  linear_regression::Model *model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method);
101 
102 }
103 }
104 }
105 #endif
daal::algorithms::linear_regression::interface1::Model
Base class for models trained with the linear regression algorithm
Definition: linear_regression_model.h:75
daal::algorithms::linear_regression::checkModel
DAAL_EXPORT services::Status checkModel(linear_regression::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::linear_regression::interface1::Parameter
Parameters for the linear regression algorithm.
Definition: linear_regression_model.h:58

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