Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Jinhyuk Lee c4f4d26d8a
initial commit
3 years ago
..
c4f4d26d8a
initial commit
3 years ago
c4f4d26d8a
initial commit
3 years ago
c4f4d26d8a
initial commit
3 years ago
c4f4d26d8a
initial commit
3 years ago
c4f4d26d8a
initial commit
3 years ago

README.txt

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
  1. Evaluation Measures for BioASQ Challenge
  2. -----------------------------------------------
  3. Instructions for BioASQ evaluation measures
  4. -----------------------------------------------
  5. Task A
  6. ---------
  7. The package contains two folders "flat/" and "hierarchical/" corresponding to the flat and hierarchical measures used during the evaluation of the challenge Task a.
  8. Additionally, a folder "mesh/" contains the MESH 2016 hierarchy in parent-child relations both in the original DescriptorID format (mesh_hierarchy.txt) and in mapped format using integers (mesh_hiearchy_int.txt) as well as the corresponding mapping (mapping.txt).
  9. 1. Before running the measures the results of the system and the golden standard results need to be mapped to the integer-based format:
  10. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar converters.MapMeshResults mesh/mapping.txt system_A_results.txt system_A_results_mapped.txt
  11. where file system_A_results.txt contains a line (with labels seperated by space) for each test instance e.g.:
  12. D05632 D04322
  13. D033321 D98766 D98765
  14. ...
  15. A file named system_A_results_mapped.txt will be created containing the coressponding integer labels e.g.:
  16. 45 67
  17. 23 90 89
  18. ...
  19. The same procedure is repeated for the file with the true labels.
  20. 2. For running the flat measures the following command is invoked:
  21. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar evaluation.Evaluator true_labels_mapped.txt system_A_results_mapped.txt
  22. The program will print to the standard output the following numbers: accuracy EbP EbR EbF MaP MaR MaF MiP MiR MiF
  23. 3. For running the hierarchical measures:
  24. ./hierarchical/bin/HEMKit ./mesh/mesh_hier_int.txt true_labels_mapped.txt system_A_results_mapped.txt 4 5
  25. will result to the following output: hP hR hF LCA-P LCA-R LCA-F
  26. Task B
  27. ---------
  28. 1. For running the measures for Task B, phase A the following command is invoked:
  29. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar evaluation.EvaluatorTask1b -phaseA -e 5 golden_file.json system_response.json
  30. 2. For running the measures for Task B, phase B the following command is invoked:
  31. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar evaluation.EvaluatorTask1b -phaseB -e 5 golden_file.json system_response.json
  32. Task C
  33. ---------
  34. Folder taskc contains evaluation measures for Task C on Funding Information Extraction From Biomedical Literature
  35. For running the measures for task C, i.e. micro-recall, the following commmand is invoked in python :
  36. python eval_script_5c.py -x /full/path/to/groundtruth/test.json -y /full/path/to/user/results.json -z /full/path/to/TaskCAgenciesParentChild.txt
  37. The flags passed correspond to the following:
  38. -x: absolute path to ground truth .json file
  39. -y: absolute path to user's predictions .json file
  40. -z: absolute path to the hierarchy .txt file. If this is ommited, hierarchy will not be taken into account.
  41. The output printed on stdout will be the Grant ID Micro Recall, Grant Agency Micro Recall and Full Grant Micro Recall achieved by the system result file, according to the [evaluation section in the guidelines](http://participants-area.bioasq.org/general_information/Task5c/).
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...