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

boosting_predict.h
1 /* file: boosting_predict.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 base classes defining interface for prediction
19 // based on Boosting algorithm model.
20 //--
21 */
22 
23 #ifndef __BOOSTING_PREDICT_H__
24 #define __BOOSTING_PREDICT_H__
25 
26 #include "algorithms/classifier/classifier_predict.h"
27 #include "algorithms/boosting/boosting_model.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
38 namespace boosting
39 {
43 namespace prediction
44 {
45 
49 namespace interface1
50 {
75 class Batch : public classifier::prediction::Batch
76 {
77 public:
78  typedef classifier::prediction::Batch super;
79 
80  typedef super::InputType InputType;
81  typedef algorithms::boosting::Parameter ParameterType;
82  typedef super::ResultType ResultType;
83 
84  Batch() {}
85 
92  Batch(const Batch &other) : classifier::prediction::Batch(other) {}
93 
94  virtual ~Batch() {}
95 
101  services::SharedPtr<Batch> clone() const
102  {
103  return services::SharedPtr<Batch>(cloneImpl());
104  }
105 
106 protected:
107  virtual Batch * cloneImpl() const DAAL_C11_OVERRIDE = 0;
108 };
110 } // namespace interface1
111 using interface1::Batch;
112 
113 } // namespace daal::algorithms::boosting::prediction
114 }
115 }
116 } // namespace daal
117 #endif // __BOOSTING_PREDICT_H__
daal
Definition: algorithm_base_common.h:31
daal::algorithms::boosting::prediction::interface1::Batch::Batch
Batch(const Batch &other)
Definition: boosting_predict.h:92
daal::algorithms::boosting::prediction::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: boosting_predict.h:101
daal::algorithms::classifier::prediction::prediction
Definition: classifier_predict_types.h:76
daal::algorithms::boosting::prediction::interface1::Batch
Base class for predicting results of boosting classifiers
Definition: boosting_predict.h:75

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