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

boosting_predict.h
1 /* file: boosting_predict.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 prediction
21 // based on Boosting algorithm model.
22 //--
23 */
24 
25 #ifndef __BOOSTING_PREDICT_H__
26 #define __BOOSTING_PREDICT_H__
27 
28 #include "algorithms/classifier/classifier_predict.h"
29 #include "algorithms/boosting/boosting_model.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
40 namespace boosting
41 {
45 namespace prediction
46 {
47 
51 namespace interface1
52 {
77 class Batch : public classifier::prediction::interface1::Batch
78 {
79 public:
80  typedef classifier::prediction::interface1::Batch super;
81 
82  typedef super::InputType InputType;
83  typedef algorithms::boosting::Parameter ParameterType;
84  typedef super::ResultType ResultType;
85 
86  Batch() {}
87 
94  Batch(const Batch &other) : classifier::prediction::interface1::Batch(other) {}
95 
96  virtual ~Batch() {}
97 
103  services::SharedPtr<Batch> clone() const
104  {
105  return services::SharedPtr<Batch>(cloneImpl());
106  }
107 
108 protected:
109  virtual Batch * cloneImpl() const DAAL_C11_OVERRIDE = 0;
110 };
112 } // namespace interface1
113 using interface1::Batch;
114 
115 } // namespace daal::algorithms::boosting::prediction
116 }
117 }
118 } // namespace daal
119 #endif // __BOOSTING_PREDICT_H__
daal::algorithms::boosting::prediction::interface1::Batch::Batch
Batch(const Batch &other)
Definition: boosting_predict.h:94
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:55
daal::algorithms::boosting::prediction::interface1::Batch::clone
services::SharedPtr< Batch > clone() const
Definition: boosting_predict.h:103
daal::algorithms::classifier::prediction::interface1::Input
Input objects in the prediction stage of the classification algorithm.
Definition: classifier_predict_types.h:111
daal::algorithms::boosting::prediction::interface1::Batch
Base class for predicting results of boosting classifiers
Definition: boosting_predict.h:77
daal::algorithms::classifier::prediction::interface1::Result
Provides methods to access prediction results obtained with the compute() method of the classifier pr...
Definition: classifier_predict_types.h:168
daal::algorithms::classifier::prediction::interface1::Batch
Base class for making predictions based on the model of the classification algorithms.
Definition: classifier_predict.h:61

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