danieldux commited on
Commit
94be609
1 Parent(s): 9e56e86

Fix formatting of hierarchical precision calculation

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -34,8 +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:
38
- `$hP=\frac{| \v{C}_i ∩ \v{C}^′_i|} {|\v{C}^′_i|}=\frac{1}{2}$`
39
 
40
  Hierarchical recall can be computed with:
41
  `$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}$`