C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

boosting_training_batch.h
1 /* file: boosting_training_batch.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Implementation of base classes defining interface for training models
21 // of the Boosting algorithms in batch mode.
22 //--
23 */
24 
25 #ifndef __BOOSTING_TRAINING_BATCH_H__
26 #define __BOOSTING_TRAINING_BATCH_H__
27 
28 #include "algorithms/algorithm.h"
29 #include "algorithms/classifier/classifier_training_batch.h"
30 #include "algorithms/boosting/boosting_model.h"
31 
32 namespace daal
33 {
34 namespace algorithms
35 {
36 namespace boosting
37 {
41 namespace training
42 {
46 namespace interface1
47 {
71 class DAAL_EXPORT Batch : public classifier::training::interface1::Batch
72 {
73 public:
74  typedef classifier::training::interface1::Batch super;
75 
76  typedef super::InputType InputType;
77  typedef algorithms::boosting::Parameter ParameterType;
78  typedef super::ResultType ResultType;
79 
80  virtual ~Batch() {}
81 
87  services::SharedPtr<Batch> clone() const
88  {
89  return services::SharedPtr<Batch>(cloneImpl());
90  }
91 
92 protected:
93  virtual Batch * cloneImpl() const DAAL_C11_OVERRIDE = 0;
94 };
97 } // namespace interface1
98 using interface1::Batch;
99 
100 } // namespace daal::algorithms::boosting::training
101 }
102 }
103 }
104 #endif // __BOOSTING_TRAINING_BATCH_H__
daal::algorithms::boosting::training::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: boosting_training_batch.h:87
daal::algorithms::classifier::training::interface1::Result
Provides methods to access final results obtained with the compute() method in the batch processing m...
Definition: classifier_training_types.h:198
daal::algorithms::classifier::training::interface1::Batch
Algorithm class for training the classifier model.
Definition: classifier_training_batch.h:58
daal::algorithms::boosting::training::interface1::Batch
Base class for training models of boosting algorithms in the batch processing mode ...
Definition: boosting_training_batch.h:71
daal::algorithms::classifier::training::interface1::Input
Base class for the input objects in the training stage of the classification algorithms.
Definition: classifier_training_types.h:110

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