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

logitboost_quality_metric_set_types.h
1 /* file: logitboost_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 LogitBoost algorithm quality metrics
19 //--
20 */
21 
22 #ifndef __LOGITBOOST_QUALITY_METRIC_SET_TYPES_H__
23 #define __LOGITBOOST_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/multiclass_confusion_matrix_types.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
33 namespace logitboost
34 {
41 namespace quality_metric_set
42 {
47 enum QualityMetricId
48 {
49  confusionMatrix,
50  lastQualityMetricId = confusionMatrix
51 };
52 
56 namespace interface1
57 {
64 /* [Parameter source code] */
65 struct DAAL_EXPORT Parameter : public daal::algorithms::Parameter
66 {
67  Parameter(size_t nClasses = 2);
68  virtual ~Parameter() {}
69 
70  size_t nClasses;
71 };
72 /* [Parameter source code] */
73 
79 class DAAL_EXPORT ResultCollection : public algorithms::quality_metric_set::ResultCollection
80 {
81 public:
82  ResultCollection() {}
83  virtual ~ResultCollection() {}
84 
90  classifier::quality_metric::multiclass_confusion_matrix::ResultPtr getResult(QualityMetricId id) const;
91 };
92 typedef services::SharedPtr<ResultCollection> ResultCollectionPtr;
93 
99 class DAAL_EXPORT InputDataCollection : public algorithms::quality_metric_set::InputDataCollection
100 {
101 public:
102  InputDataCollection() {}
103  virtual ~InputDataCollection() {}
104 
110  classifier::quality_metric::multiclass_confusion_matrix::InputPtr getInput(QualityMetricId id) const;
111 };
112 typedef services::SharedPtr<InputDataCollection> InputDataCollectionPtr;
113 }
114 using interface1::Parameter;
115 using interface1::ResultCollection;
116 using interface1::ResultCollectionPtr;
117 using interface1::InputDataCollection;
118 using interface1::InputDataCollectionPtr;
119 
120 }
122 }
123 }
124 }
125 
126 #endif // __LOGITBOOST_QUALITY_METRIC_SET_TYPES_H__
daal
Definition: algorithm_base_common.h:31
daal::algorithms::logitboost::quality_metric_set::interface1::Parameter
Parameters for the LogitBoost compute() method.
Definition: logitboost_quality_metric_set_types.h:65
daal::algorithms::logitboost::quality_metric_set::confusionMatrix
Definition: logitboost_quality_metric_set_types.h:49
daal::algorithms::logitboost::quality_metric_set::interface1::ResultCollection
Class that implements functionality of the collection of result objects of the quality metrics algori...
Definition: logitboost_quality_metric_set_types.h:79
daal::algorithms::logitboost::quality_metric_set::QualityMetricId
QualityMetricId
Definition: logitboost_quality_metric_set_types.h:47
daal::algorithms::logitboost::quality_metric_set::interface1::InputDataCollection
Class that implements functionality of the collection of input objects of the quality metrics algorit...
Definition: logitboost_quality_metric_set_types.h:99
daal::algorithms::logitboost::quality_metric_set::interface1::Parameter::nClasses
size_t nClasses
Definition: logitboost_quality_metric_set_types.h:70

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