Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

PyTrial: Machine Learning Software and Benchmark for Clinical Trial Applications

About

Clinical trials are conducted to test the effectiveness and safety of potential drugs in humans for regulatory approval. Machine learning (ML) has recently emerged as a new tool to assist in clinical trials. Despite this progress, there have been few efforts to document and benchmark ML4Trial algorithms available to the ML research community. Additionally, the accessibility to clinical trial-related datasets is limited, and there is a lack of well-defined clinical tasks to facilitate the development of new algorithms. To fill this gap, we have developed PyTrial that provides benchmarks and open-source implementations of a series of ML algorithms for clinical trial design and operations. In this paper, we thoroughly investigate 34 ML algorithms for clinical trials across 6 different tasks, including patient outcome prediction, trial site selection, trial outcome prediction, patient-trial matching, trial similarity search, and synthetic data generation. We have also collected and prepared 23 ML-ready datasets as well as their working examples in Jupyter Notebooks for quick implementation and testing. PyTrial defines each task through a simple four-step process: data loading, model specification, model training, and model evaluation, all achievable with just a few lines of code. Furthermore, our modular API architecture empowers practitioners to expand the framework to incorporate new algorithms and tasks effortlessly. The code is available at https://github.com/RyanWangZf/PyTrial.

Zifeng Wang, Brandon Theodorou, Tianfan Fu, Cao Xiao, Jimeng Sun• 2023

Related benchmarks

TaskDatasetResultRank
Clinical trial outcome predictionTOP (Phase II)
PR Score62.1
5
Clinical trial outcome predictionCTOD (Phase I)
PR Score86
5
Clinical trial outcome predictionCTOD (Phase II)
PR Score80.8
5
Clinical trial outcome predictionCTOD (Phase III)
PR85.6
5
Clinical trial outcome predictionTOP (Phase I)
Precision78.1
5
Clinical trial outcome predictionTOP (Phase III)
Precision72.4
5
Showing 6 of 6 rows

Other info

Follow for update