Skip to main content

PyTrial: AI-driven In Silico Clinical Trial Optimization

Project description

PyTrial

PyTrial: A Python Package for Artificial Intelligence in Drug Development

Doc Tutorial

Downloads License Python 3.7+ Sunlab

A series of clinical trial tasks that are supported by PyTrial.

:star: Features

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

:rocket: Installation

  • Before install PyTrial, we need to install pytorch first. Please refer to install PyTorch for a version that suits your device.

  • Then, it is easy to install PyTrial from github source:

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:

@misc{pytrial2022,
    title = {PyTrial: A Python Package for Artificial Intelligence in Drug Development},
    author = {Wang, Zifeng and Theodorou, Brandon and Fu, Tianfan and Sun, Jimeng},
    year = {2022},
    month = {11},
    organization = {SunLab, UIUC},
    url = {https://pytrial.readthedocs.io/en/latest/},
}

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

PyTrial-0.0.2.tar.gz (160.2 kB view details)

Uploaded Source

Built Distribution

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

PyTrial-0.0.2-py3-none-any.whl (233.6 kB view details)

Uploaded Python 3

File details

Details for the file PyTrial-0.0.2.tar.gz.

File metadata

  • Download URL: PyTrial-0.0.2.tar.gz
  • Upload date:
  • Size: 160.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for PyTrial-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b51317e07ddc2e1daf8087a16fa64341164aa9f8510e39a30ae83766ca69cfb3
MD5 f521c28ff839eb1aa9ad2ec9a82f9947
BLAKE2b-256 dd83e447e0b22d94aa7857e1e0096592c544e19a4927873849037375722e1131

See more details on using hashes here.

File details

Details for the file PyTrial-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: PyTrial-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 233.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for PyTrial-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 262b9ee0b7ee17d73caf79e4007707eec6fe9420d87f7808a93cfd25c86e4ec6
MD5 d832ce7a8c564ab99372abb33068a291
BLAKE2b-256 c68b6788a63826290d97a398b97ba6f0847096f7a8346bf8de6bbe7d31b6b5f1

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