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

brownboost_quality_metric_set_types.h
1 /* file: brownboost_quality_metric_set_types.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 // Interface for the BrownBoost algorithm quality metrics
21 //--
22 */
23 
24 #ifndef __BROWNBOOST_QUALITY_METRIC_SET_TYPES_H__
25 #define __BROWNBOOST_QUALITY_METRIC_SET_TYPES_H__
26 
27 #include "services/daal_shared_ptr.h"
28 #include "algorithms/algorithm_quality_metric_set_types.h"
29 #include "algorithms/classifier/binary_confusion_matrix_types.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace brownboost
36 {
43 namespace quality_metric_set
44 {
49 enum QualityMetricId
50 {
51  confusionMatrix,
52  lastQualityMetricId = confusionMatrix
53 };
54 
58 namespace interface1
59 {
65 class DAAL_EXPORT ResultCollection : public algorithms::quality_metric_set::ResultCollection
66 {
67 public:
68  ResultCollection() {}
69  virtual ~ResultCollection() {}
70 
76  classifier::quality_metric::binary_confusion_matrix::ResultPtr getResult(QualityMetricId id) const;
77 
78 };
79 typedef services::SharedPtr<ResultCollection> ResultCollectionPtr;
80 
86 class DAAL_EXPORT InputDataCollection : public algorithms::quality_metric_set::InputDataCollection
87 {
88 public:
89  InputDataCollection() {}
90  virtual ~InputDataCollection() {}
91 
97  classifier::quality_metric::binary_confusion_matrix::InputPtr getInput(QualityMetricId id) const;
98 
99 };
100 typedef services::SharedPtr<InputDataCollection> InputDataCollectionPtr;
101 }
102 using interface1::ResultCollection;
103 using interface1::ResultCollectionPtr;
104 using interface1::InputDataCollection;
105 using interface1::InputDataCollectionPtr;
106 
107 }
109 }
110 }
111 }
112 
113 #endif // __BROWNBOOST_QUALITY_METRIC_SET_TYPES_H__
daal::algorithms::brownboost::quality_metric_set::interface1::InputDataCollection
Class that implements functionality of the collection of input objects of the quality metrics algorit...
Definition: brownboost_quality_metric_set_types.h:86
daal::algorithms::brownboost::quality_metric_set::confusionMatrix
Definition: brownboost_quality_metric_set_types.h:51
daal::algorithms::brownboost::quality_metric_set::QualityMetricId
QualityMetricId
Definition: brownboost_quality_metric_set_types.h:49
daal::algorithms::brownboost::quality_metric_set::interface1::ResultCollection
Class that implements functionality of the collection of result objects of the quality metrics algori...
Definition: brownboost_quality_metric_set_types.h:65

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