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

regression_model.h
1 /* file: 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 regression model
21 //--
22 */
23 
24 #ifndef __REGRESSION_MODEL_H__
25 #define __REGRESSION_MODEL_H__
26 
27 #include "algorithms/model.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
46 namespace regression
47 {
51 namespace interface1
52 {
65 class DAAL_EXPORT Model : public daal::algorithms::Model
66 {
67 public:
68  DAAL_CAST_OPERATOR(Model)
69 
70  virtual ~Model()
71  {}
72 
77  virtual size_t getNumberOfFeatures() const = 0;
78 };
79 typedef services::SharedPtr<Model> ModelPtr;
80 typedef services::SharedPtr<const Model> ModelConstPtr;
82 }
83 using interface1::Model;
84 using interface1::ModelPtr;
85 using interface1::ModelConstPtr;
86 }
87 }
88 }
89 #endif
daal::algorithms::regression::interface1::Model
Base class for models trained with the regression algorithm
Definition: regression_model.h:65

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