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

boosting_training_batch.h
1 /* file: boosting_training_batch.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 interface for training models
19 // of the Boosting algorithms in batch mode.
20 //--
21 */
22 
23 #ifndef __BOOSTING_TRAINING_BATCH_H__
24 #define __BOOSTING_TRAINING_BATCH_H__
25 
26 #include "algorithms/algorithm.h"
27 #include "algorithms/classifier/classifier_training_batch.h"
28 #include "algorithms/boosting/boosting_model.h"
29 
30 namespace daal
31 {
32 namespace algorithms
33 {
34 namespace boosting
35 {
39 namespace training
40 {
44 namespace interface1
45 {
69 class DAAL_EXPORT Batch : public classifier::training::Batch
70 {
71 public:
72  typedef classifier::training::Batch super;
73 
74  typedef super::InputType InputType;
75  typedef algorithms::boosting::Parameter ParameterType;
76  typedef super::ResultType ResultType;
77 
78  virtual ~Batch() {}
79 
85  services::SharedPtr<Batch> clone() const
86  {
87  return services::SharedPtr<Batch>(cloneImpl());
88  }
89 
90 protected:
91  virtual Batch * cloneImpl() const DAAL_C11_OVERRIDE = 0;
92 };
95 } // namespace interface1
96 using interface1::Batch;
97 
98 } // namespace daal::algorithms::boosting::training
99 }
100 }
101 }
102 #endif // __BOOSTING_TRAINING_BATCH_H__
daal
Definition: algorithm_base_common.h:31
daal::algorithms::boosting::training::interface1::Batch
Base class for training models of boosting algorithms in the batch processing mode ...
Definition: boosting_training_batch.h:69
daal::algorithms::boosting::training::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: boosting_training_batch.h:85

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