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

weak_learner_predict.h
1 /* file: weak_learner_predict.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 base classes defining the interface for prediction
19 // based on the weak learner model.
20 //--
21 */
22 
23 #ifndef __WEAK_LEARNER_PREDICT_H__
24 #define __WEAK_LEARNER_PREDICT_H__
25 
26 #include "algorithms/classifier/classifier_predict.h"
27 
28 namespace daal
29 {
30 namespace algorithms
31 {
32 namespace weak_learner
33 {
43 namespace prediction
44 {
45 
49 namespace interface1
50 {
70 class Batch : public classifier::prediction::Batch
71 {
72 public:
73  typedef classifier::prediction::Batch super;
74 
75  typedef super::InputType InputType;
76  typedef super::ParameterType ParameterType;
77  typedef super::ResultType ResultType;
78 
79  Batch() {}
80 
87  Batch(const Batch &other) : classifier::prediction::Batch(other) {}
88 
89  virtual ~Batch() {}
90 
96  services::SharedPtr<Batch> clone() const
97  {
98  return services::SharedPtr<Batch>(cloneImpl());
99  }
100 
101 protected:
102  virtual Batch * cloneImpl() const DAAL_C11_OVERRIDE = 0;
103 };
105 } // namespace interface1
106 using interface1::Batch;
107 
108 } // namespace daal::algorithms::weak_learner::prediction
109 }
110 }
111 } // namespace daal
112 #endif // __WEAK_LEARNER_PREDICT_H__
daal::algorithms::weak_learner::prediction::interface1::Batch::Batch
Batch(const Batch &other)
Definition: weak_learner_predict.h:87
daal
Definition: algorithm_base_common.h:31
daal::algorithms::weak_learner::prediction::interface1::Batch
Base class for making predictions based on the weak learner model
Definition: weak_learner_predict.h:70
daal::algorithms::weak_learner::prediction::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: weak_learner_predict.h:96
daal::algorithms::classifier::prediction::prediction
Definition: classifier_predict_types.h:76

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