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

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
  1. This directory contains EvalMeasuresBioASQ Java project.
  2. This project includes evaluation Java Source Package for BioASQ flat evaluation measures.
  3. converters Source Package also included, for conversion of files in integer format needed for both flat and hierarchical measures.
  4. Libraries used by EvalMeasuresBioASQ are located in \BioASQEvaluation\dist\lib
  5. Instructions for BioASQ evaluation measures
  6. -----------------------------------------------
  7. Task A
  8. ---------
  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. will result to the following output: MPrec concepts, MRec concepts, MF1 concepts, MAP concepts, GMAP concepts, MPrec documents, MRec documents, MF1 documents, MAP documents, GMAP documents, MPrec snippets, MRec snippets, MF1 snippets, MAP snippets, GMAP snippets, MPrec triples, MRec triples, MF1 triples, MAP triples, GMAP triples.
  31. or
  32. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar evaluation.EvaluatorTask1b -phaseA -e 5 golden_file.json system_response.json -verbose
  33. 2. For running the measures for Task B, phase B the following command is invoked:
  34. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar evaluation.EvaluatorTask1b -phaseB -e 5 golden_file.json system_response.json
  35. will result to the following output: YesNo Acc, Factoid Strict Acc, Factoid Lenient Acc, Factoid MRR, List Prec, List Rec, List F1, YesNo macroF1, YesNo F1 yes, YesNo F1 no.
  36. or
  37. java -Xmx10G -cp $CLASSPATH:./flat/BioASQEvaluation/dist/BioASQEvaluation.jar evaluation.EvaluatorTask1b -phaseB -e 5 golden_file.json system_response.json -verbose
Tip!

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

Comments

Loading...