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

logistic_regression_model.h
1 /* file: logistic_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 logistic regression model class
19 //--
20 */
21 
22 #ifndef __LOGISTIC_REGRESIION_MODEL_H__
23 #define __LOGISTIC_REGRESIION_MODEL_H__
24 
25 #include "algorithms/classifier/classifier_model.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
39 namespace logistic_regression
40 {
44 namespace interface1
45 {
58 class DAAL_EXPORT Model : public classifier::Model
59 {
60 public:
61  DECLARE_MODEL(Model, classifier::Model)
62 
63 
67  virtual size_t getNumberOfBetas() const = 0;
68 
73  virtual bool getInterceptFlag() const = 0;
74 
79  virtual data_management::NumericTablePtr getBeta() = 0;
80 
85  virtual const data_management::NumericTablePtr getBeta() const = 0;
86 
87 protected:
88  Model() : classifier::Model()
89  {}
90 };
92 typedef services::SharedPtr<Model> ModelPtr;
93 } // namespace interface1
94 using interface1::Model;
95 using interface1::ModelPtr;
96 
97 } // namespace logistic_regression
98 } // namespace algorithms
99 } // namespace daal
100 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::logistic_regression::interface1::Model
Model of the classifier trained by the logistic_regression::training::Batch algorithm.
Definition: logistic_regression_model.h:58

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