C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

linear_regression_model.h
1 /* file: linear_regression_model.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Implementation of the class defining the linear regression model
19 //--
20 */
21 
22 #ifndef __LINEAR_REGRESSION_MODEL_H__
23 #define __LINEAR_REGRESSION_MODEL_H__
24 
25 #include "data_management/data/numeric_table.h"
26 #include "algorithms/linear_model/linear_model_model.h"
27 
28 namespace daal
29 {
30 namespace algorithms
31 {
37 namespace linear_regression
38 {
39 
43 namespace interface1
44 {
55 /* [Parameter source code] */
56 struct Parameter : public linear_model::Parameter
57 {
58 };
59 /* [Parameter source code] */
60 
73 class DAAL_EXPORT Model : public linear_model::Model
74 {
75 public:
76  DAAL_CAST_OPERATOR(Model)
77 };
78 typedef services::SharedPtr<Model> ModelPtr;
79 typedef services::SharedPtr<const Model> ModelConstPtr;
81 } // namespace interface1
82 using interface1::Parameter;
83 using interface1::Model;
84 using interface1::ModelPtr;
85 using interface1::ModelConstPtr;
86 
97 DAAL_EXPORT services::Status checkModel(
98  linear_regression::Model *model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method);
99 
100 }
101 }
102 }
103 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::classifier::prediction::model
Definition: classifier_predict_types.h:66
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::linear_regression::interface1::Parameter
Parameters for the linear regression algorithm.
Definition: linear_regression_model.h:56
daal::algorithms::linear_regression::interface1::Model
Base class for models trained with the linear regression algorithm
Definition: linear_regression_model.h:73

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