Skip to main content

DrugAutoML

DrugAutoML is an end-to-end Automated Machine Learning (AutoML) pipeline for bioactivity prediction in drug discovery.
It automates every stage — from reading raw datasets to generating predictions for new molecules — and produces both high-performance models and explainable outputs.


🚀 Features

  • Data Preprocessing
    Reads raw datasets, cleans and standardizes SMILES, removes invalid molecules, and labels compounds as active or inactive based on pChEMBL cutoffs or existing binary labels.

  • Molecular Featurization
    Generates ECFP (Extended-Connectivity Fingerprints) using RDKit with customizable radius, bit size, and count-based features.

  • Data Splitting
    Splits data into training and testing sets using:

    • Scaffold Split (structure-aware)
    • Stratified Random Split (class-proportion preserving)
  • Model Selection
    Hyperparameter optimization with Optuna for:

    • Random Forest, Extra Trees, Logistic Regression, Linear SVC, XGBoost, LightGBM
      Uses repeated stratified k-fold CV and produces a ranked leaderboard.
  • Model Finalization
    Trains the best model, applies probability calibration, selects optimal classification threshold, evaluates on the test set, and saves the model.

  • Explainability

    • SHAP global importance plots (beeswarm, bar, signed bar)
    • Bit Gallery visualizations: highlights ECFP bits in test molecules that strongly influence predictions.
  • Prediction on New Data
    Scores unlabeled or labeled molecules, outputs probabilities and predictions, and computes metrics if labels are available.

Metadata

Release files for DrugAutoML 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DrugAutoML 0.1.4
File Size Uploaded
drugautoml-0.1.4.tar.gz 28.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DrugAutoML 0.1.4
File Interpreter ABI Platform
drugautoml-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 62.5 kB

Release files / drugautoml-0.1.4.tar.gz

Download URL drugautoml-0.1.4.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
803564812386aefe15afe9f501576941500f1136d780a42176c72e59ee06c7d9
BLAKE2b-256 checksum
How to use checksums
73e128e20758a05ee6acfea875a6d32754d3bf03b800a9b1dc9d09b194b971ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.1

Release files / drugautoml-0.1.4-py3-none-any.whl

Download URL drugautoml-0.1.4-py3-none-any.whl
Size 34.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f046be7ed87e6c7135fc53f61f2c1732d575fd29c0d5740a319c7675807c7e4
BLAKE2b-256 checksum
How to use checksums
a6f5d5d838a48574c65295c65548d855521bd500182ff160b1bba68fad8db17c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

1 release file

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page