C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

logitboost_predict_types.h
1 /* file: logitboost_predict_types.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 base classes used in the prediction stage
19 // of the classifier algorithm
20 //--
21 */
22 
23 #ifndef __LOGITBOOST_PREDICT_TYPES_H__
24 #define __LOGITBOOST_PREDICT_TYPES_H__
25 
26 #include "algorithms/algorithm.h"
27 #include "algorithms/boosting/logitboost_model.h"
28 
29 #include "data_management/data/homogen_numeric_table.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace logitboost
36 {
45 namespace prediction
46 {
47 
51 namespace interface1
52 {
53 
58 class DAAL_EXPORT Input : public classifier::prediction::Input
59 {
60  typedef classifier::prediction::Input super;
61 public:
62 
63  Input() : classifier::prediction::Input() {}
64  Input(const Input& other) : classifier::prediction::Input(other){}
65  virtual ~Input() {}
66 
67  using super::get;
68  using super::set;
69 
75  data_management::NumericTablePtr get(classifier::prediction::NumericTableInputId id) const;
76 
82  logitboost::ModelPtr get(classifier::prediction::ModelInputId id) const;
83 
89  void set(classifier::prediction::NumericTableInputId id, const data_management::NumericTablePtr &ptr);
90 
96  void set(classifier::prediction::ModelInputId id, const logitboost::ModelPtr &ptr);
97 
103  services::Status check(const daal::algorithms::Parameter *parameter, int method) const DAAL_C11_OVERRIDE;
104 
105 };
106 
107 } // namespace interface1
108 using interface1::Input;
109 }
111 }
112 }
113 }
114 #endif // __LOGITBOOST_PREDICT_TYPES_H__
daal
Definition: algorithm_base_common.h:31
daal::algorithms::classifier::prediction::ModelInputId
ModelInputId
Definition: classifier_predict_types.h:64
daal::algorithms::classifier::prediction::NumericTableInputId
NumericTableInputId
Definition: classifier_predict_types.h:53
daal::algorithms::classifier::prediction::prediction
Definition: classifier_predict_types.h:76
daal::algorithms::logitboost::prediction::interface1::Input
Input objects in the prediction stage of the logitboost algorithm.
Definition: logitboost_predict_types.h:58

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