RyanWangZf / PyTrial

PyTrial: A Comprehensive Platform for Artificial Intelligence for Drug Development
https://pytrial.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
84 stars 17 forks source link
artificial-intelligence clinical-trials data-mining drug-development drug-discovery machine-learning natural-language-processing

PyTrial

PyTrial: A Python Package for Artificial Intelligence in Drug Development

[![Doc](https://img.shields.io/badge/Doc-PyTrial-brightgreen)](https://pytrial.readthedocs.io/en/latest/) [![Tutorial](https://img.shields.io/badge/Tutotrial-PyTrial-brightgreen)](https://pytrial.readthedocs.io/en/latest/tutorial.html) [![Downloads](https://static.pepy.tech/badge/pytrial)](https://pepy.tech/project/pytrial) [![License](https://img.shields.io/badge/License-BSD_2--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause) [![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Sunlab](https://img.shields.io/badge/About-SunLab%40UIUC-orange)](https://www.sunlab.org/)
A series of clinical trial task solutions and resources that are offered by PyTrial.

:bulb: News

:star: Features

PyTrial is designed for both ML researchers and medical practioners, which is featured for

:rocket: Installation

pip install git+https://github.com/RyanWangZf/pytrial.git@main

The package is tested on python==3.7.

We DO NOT recommend downloading from PyPI temporarily because PyTrial is undergoing development swiftly.

:sunny: Philosophy

In PyTrial, performing a task boils down to three steps: load data -> define model -> fit and predict.

To minimize the efforts learning to use PyTrial, we keep a consistent user interface for all tasks all models, i.e.,

model.fit(train_data, val_data)

model.predict(test_data)

model.save_model(save_dir)

model.load_model(load_dir)

hence all tasks are defined the input and output. All we need to do is to prepare for the input following the protocol.

:book: Documentation

We provide the following tutorials to help users get started with our PyTrial. After go through all these chapters, you will become the expert in AI for clinical trials and are ready to explore the frontier of this field.

The full documentation is at PyTrial-docs.

The principle of PyTrial

Tutorials for each task

Additional utilities

:smiley: Citing

If you use PyTrial in a scientific publication, we would appreciate citations to:

@article{wang2023pytrial,
  title={PyTrial: A Comprehensive Platform for Artificial Intelligence for Drug Development},
  author={Wang, Zifeng and Theodorou, Brandon and Fu, Tianfan and Xiao, Cao and Sun, Jimeng},
  journal={arXiv preprint arXiv:2306.04018},
  year={2023},
}