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

regression_model.h
1 /* file: 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 regression model
19 //--
20 */
21 
22 #ifndef __REGRESSION_MODEL_H__
23 #define __REGRESSION_MODEL_H__
24 
25 #include "algorithms/model.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
44 namespace regression
45 {
49 namespace interface1
50 {
63 class DAAL_EXPORT Model : public daal::algorithms::Model
64 {
65 public:
66  DAAL_CAST_OPERATOR(Model)
67 
68  virtual ~Model()
69  {}
70 
75  virtual size_t getNumberOfFeatures() const = 0;
76 };
77 typedef services::SharedPtr<Model> ModelPtr;
78 typedef services::SharedPtr<const Model> ModelConstPtr;
80 }
81 using interface1::Model;
82 using interface1::ModelPtr;
83 using interface1::ModelConstPtr;
84 }
85 }
86 }
87 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::regression::interface1::Model
Base class for models trained with the regression algorithm
Definition: regression_model.h:63

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