C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

ridge_regression_model.h
1 /* file: ridge_regression_model.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 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 ridge regression model
19 //--
20 */
21 
22 #ifndef __RIDGE_REGRESSION_MODEL_H__
23 #define __RIDGE_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 ridge_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 
67 /* [TrainParameter source code] */
68 struct DAAL_EXPORT TrainParameter : public Parameter
69 {
70  TrainParameter();
71 
72  services::Status check() const DAAL_C11_OVERRIDE;
73 
74  data_management::NumericTablePtr ridgeParameters;
75 };
76 /* [TrainParameter source code] */
77 
90 class DAAL_EXPORT Model : public linear_model::Model
91 {
92 public:
93  DAAL_CAST_OPERATOR(Model)
94 };
95 typedef services::SharedPtr<Model> ModelPtr;
96 typedef services::SharedPtr<const Model> ModelConstPtr;
98 } // namespace interface1
99 
100 using interface1::Parameter;
101 using interface1::TrainParameter;
102 using interface1::Model;
103 using interface1::ModelPtr;
104 using interface1::ModelConstPtr;
105 
116 DAAL_EXPORT services::Status checkModel(
117  ridge_regression::Model* model, const daal::algorithms::Parameter &par, size_t nBeta, size_t nResponses, int method);
118 
119 } // namespace ridge_regression
120 } // namespace algorithms
121 } // namespace daal
122 
123 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::ridge_regression::interface1::TrainParameter::ridgeParameters
data_management::NumericTablePtr ridgeParameters
Definition: ridge_regression_model.h:74
daal::algorithms::ridge_regression::interface1::Parameter
Parameters for the ridge regression algorithm.
Definition: ridge_regression_model.h:56
daal::algorithms::classifier::prediction::model
Definition: classifier_predict_types.h:66
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
Parameters for the ridge regression algorithm.
Definition: ridge_regression_model.h:68
daal::algorithms::ridge_regression::interface1::Model
Base class for models trained with the ridge regression algorithm
Definition: ridge_regression_model.h:90

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