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

logistic_regression_model.h
1 /* file: logistic_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 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 {
35 namespace logistic_regression
36 {
40 namespace interface1
41 {
54 class DAAL_EXPORT Model : public classifier::Model
55 {
56 public:
57  DECLARE_MODEL(Model, classifier::Model)
58 
59 
63  virtual size_t getNumberOfBetas() const = 0;
64 
69  virtual bool getInterceptFlag() const = 0;
70 
75  virtual data_management::NumericTablePtr getBeta() = 0;
76 
81  virtual const data_management::NumericTablePtr getBeta() const = 0;
82 
83 protected:
84  Model() : classifier::Model()
85  {}
86 };
88 typedef services::SharedPtr<Model> ModelPtr;
89 } // namespace interface1
90 using interface1::Model;
91 using interface1::ModelPtr;
92 
93 } // namespace logistic_regression
94 } // namespace algorithms
95 } // namespace daal
96 #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:54

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