BC6PM
Evaluation scripts for BioCreative VI Precision Medicine Track
Install / Use
/learn @ncbi-nlp/BC6PMREADME
Evaluation Scripts for BioCreative VI Precision Medicine Track
Given gold standard and prediction sets, the Python scripts return precision, recall and F1 scores for the document triage and relation extraction tasks, http://www.biocreative.org/tasks/biocreative-vi/track-4. The current evaluation is based on exact match, which might be changed in the official run. This early release is to help validate the format of paritipating teams' prediction sets.
Public Domain Notice
This work is a "United States Government Work" under the terms of the United States Copyright Act. It was written as part of the authors' official duties as a United States Government employee and thus cannot be copyrighted within the United States. The data is freely available to the public for use. The National Library of Medicine and the U.S. Government have not placed any restriction on its use or reproduction.
Although all reasonable efforts have been taken to ensure the accuracy and reliability of the data and its source code, the NLM and the U.S. Government do not and cannot warrant the performance or results that may be obtained by using it. The NLM and the U.S. Government disclaim all warranties, express or implied, including warranties of performance, merchantability or fitness for any particular purpose.
Requirements
- Python 2.7
- PyBioC (https://github.com/2mh/PyBioC)
- lxml (http://lxml.de)
How to Use
- Download
- git clone https://github.com/ncbi-nlp/BC6PM.git
- Run eval_xml.py (BioC XML) or eval_json.py (BioC JSON)
- python eval_xml.py [triage|relation] [gold_standard_file] [prediction_file]
- python eval_json.py [triage|relation] [gold_standard_file] [prediction_file]
List of Contributors
- Rezarta I. Dogan
- Andrew Chatr-aryamontri
- Sun Kim
- Donald C. Comeau
- Zhiyong Lu
Contact
Please contact sun.kim@nih.gov if you have any questions or comments.
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
