Skip to main content

Evaluation method for the DRAGON benchmark

Project description

DRAGON Evaluation

Evaluation method for the DRAGON (Diagnostic Report Analysis: General Optimization of NLP) challenge.

If you are using this codebase or some part of it, please cite the following article: PENDING

BibTeX:

PENDING

Installation

A pre-built Docker container with the DRAGON evaluation method is available:

docker pull joeranbosma/dragon_eval:latest

The DRAGON evaluation method can be pip-installed:

pip install dragon_eval

Or, alternatively, it can be installed from source:

pip install git+https://github.com/DIAGNijmegen/dragon_eval

The evaluation method was tested with Python 3.10. See requirements.txt for a full list of exact package versions.

Usage

The Docker container can be used to evaluate the synthetic datasets as specified in evaluate.sh. To evaluate the synthetic tasks, place the predictions to evaluate in the test-predictions folder and run ./evaluate.sh.

The DRAGON evaluation method can also be used from the command line (if installed with pip):

python -m dragon_eval --ground-truth-path="ground-truth" --predictions-path=test-predictions --output-file=metrics.json --folds 0 1 2 3 4 --tasks 000 001 002 003 004 005 006 007

The command above should work when executed from the dragon_eval folder, which needs to be cloned locally for the ground truth and prediction files to be present. Change the paths above when executing the command from a different place or storing the files in a different place. The tasks and folds to evaluate can be changed with the respective parameters.

Managed By

Diagnostic Image Analysis Group, Radboud University Medical Center, Nijmegen, The Netherlands

Contact Information

Joeran Bosma: Joeran.Bosma@radboudumc.nl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dragon_eval-0.2.9.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dragon_eval-0.2.9-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file dragon_eval-0.2.9.tar.gz.

File metadata

  • Download URL: dragon_eval-0.2.9.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for dragon_eval-0.2.9.tar.gz
Algorithm Hash digest
SHA256 b5ccb306a4ee24920fbd270a6db776b5b3f4ebdda1c83d795e905166af1adaaf
MD5 c94689c4215935318cb873f503c06cdc
BLAKE2b-256 c38d82b8df91127953645f67d4fb5f3acb349ee2e2dc6a7f70baf8d673a60b53

See more details on using hashes here.

File details

Details for the file dragon_eval-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: dragon_eval-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for dragon_eval-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0364147c519da2cf6e638a02981cc4881936063f832b7eaa0d27409e637ec81d
MD5 dbac4502aeca6f16b0d6a795fa67714c
BLAKE2b-256 c0a483ff0f3f790a517eb86bb7151760602866a4d8c213be2d5aceefbecd2842

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page