Fix formatting in hierarchical precision calculation
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ The measure accounts for the hierarchical structure of the ISCO-08 classificatio
|
|
34 |
|
35 |
The features described are accomplished by pairing hierarchical variants of precision ($hP$) and recall ($hR$) to form a hierarchical F1 ($hF_β$) score where each sample belongs not only to its class (e.g., a unit group level code), but also to all ancestors of the class in a hierarchical graph (i.e., the minor, sub-major, and major group level codes).
|
36 |
|
37 |
-
Hierarchical precision can be computed with $hP=\frac{
|
38 |
|
39 |
Hierarchical recall can be computed with:
|
40 |
`$hR = \frac{| \v{C}_i ∩ \v{C}^′_i|} {|\v{C}_i |} = \frac{1}{2}$`
|
|
|
34 |
|
35 |
The features described are accomplished by pairing hierarchical variants of precision ($hP$) and recall ($hR$) to form a hierarchical F1 ($hF_β$) score where each sample belongs not only to its class (e.g., a unit group level code), but also to all ancestors of the class in a hierarchical graph (i.e., the minor, sub-major, and major group level codes).
|
36 |
|
37 |
+
Hierarchical precision can be computed with $hP=\frac{| \v{C}_i ∩ \v{C}^′_i|} {|\v{C}^′_i|}=\frac{1}{2}$
|
38 |
|
39 |
Hierarchical recall can be computed with:
|
40 |
`$hR = \frac{| \v{C}_i ∩ \v{C}^′_i|} {|\v{C}_i |} = \frac{1}{2}$`
|