Developer Guide

Contents

Details

Further definitions use the following notations:
tp
i
(true positive)
the number of correctly recognized observations for class
C
i
tn
i
(true negative)
the number of correctly recognized observations that do not belong to the class
C
i
fp
i
(false positive)
the number of observations that were incorrectly assigned to the class
C
i
fn
i
(false negative)
the number of observations that were not recognized as belonging to the class
C
i
The library uses the following quality metrics for multi-class classifiers:
Quality Metric
Definition
Average accuracy
Error rate
Micro precision (
Precision
μ
)
Micro recall (
Recall
μ
)
Micro F-score (
F-score
μ
)
Macro precision (
Precision
M
)
Macro recall (
Recall
M
)
Macro F-score (
F-score
M
)
For more details of these metrics, including the evaluation focus, refer to [Sokolova09].
The following is the confusion matrix:
Classified as Class
C
1
...
Classified as Class
C
i
...
Classified as Class
C
l
Actual Class
C
1
c
11
...
c
1
i
...
c
1
l
...
...
...
...
...
...
Actual Class
C
i
c
i
1
...
c
ii
...
c
il
...
...
...
...
...
...
Actual Class
C
l
c
l
1
...
c
li
...
c
ll
The positives and negatives are defined through elements of the confusion matrix as follows:

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804