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

adaboost_quality_metric_set_types.h
1 /* file: adaboost_quality_metric_set_types.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 // Interface for the AdaBoost algorithm quality metrics
19 //--
20 */
21 
22 #ifndef __ADABOOST_QUALITY_METRIC_SET_TYPES_H__
23 #define __ADABOOST_QUALITY_METRIC_SET_TYPES_H__
24 
25 #include "services/daal_shared_ptr.h"
26 #include "algorithms/algorithm_quality_metric_set_types.h"
27 #include "algorithms/classifier/binary_confusion_matrix_types.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
33 namespace adaboost
34 {
41 namespace quality_metric_set
42 {
47 enum QualityMetricId
48 {
49  confusionMatrix,
50  lastQualityMetricId = confusionMatrix
51 };
52 
56 namespace interface1
57 {
63 class DAAL_EXPORT ResultCollection : public algorithms::quality_metric_set::ResultCollection
64 {
65 public:
66  ResultCollection() {}
67  virtual ~ResultCollection() {}
68 
74  classifier::quality_metric::binary_confusion_matrix::ResultPtr getResult(QualityMetricId id) const;
75 };
76 typedef services::SharedPtr<ResultCollection> ResultCollectionPtr;
77 
83 class DAAL_EXPORT InputDataCollection : public algorithms::quality_metric_set::InputDataCollection
84 {
85 public:
86  InputDataCollection() {}
87  virtual ~InputDataCollection() {}
88 
94  classifier::quality_metric::binary_confusion_matrix::InputPtr getInput(QualityMetricId id) const;
95 };
96 typedef services::SharedPtr<InputDataCollection> InputDataCollectionPtr;
97 }
98 using interface1::ResultCollection;
99 using interface1::ResultCollectionPtr;
100 using interface1::InputDataCollection;
101 using interface1::InputDataCollectionPtr;
102 
103 }
105 }
106 }
107 }
108 
109 #endif // __ADABOOST_QUALITY_METRIC_SET_TYPES_H__
daal
Definition: algorithm_base_common.h:31
daal::algorithms::adaboost::quality_metric_set::interface1::InputDataCollection
Class that implements functionality of the collection of input objects of the quality metrics algorit...
Definition: adaboost_quality_metric_set_types.h:83
daal::algorithms::adaboost::quality_metric_set::confusionMatrix
Definition: adaboost_quality_metric_set_types.h:49
daal::algorithms::adaboost::quality_metric_set::QualityMetricId
QualityMetricId
Definition: adaboost_quality_metric_set_types.h:47
daal::algorithms::adaboost::quality_metric_set::interface1::ResultCollection
Class that implements functionality of the collection of result objects of the quality metrics algori...
Definition: adaboost_quality_metric_set_types.h:63

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