Skip to main content

Automated Machine Learning pipeline for bioactivity prediction using molecular fingerprints

Project description

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.

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

drugautoml-0.1.4.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

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

drugautoml-0.1.4-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file drugautoml-0.1.4.tar.gz.

File metadata

  • Download URL: drugautoml-0.1.4.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for drugautoml-0.1.4.tar.gz
Algorithm Hash digest
SHA256 803564812386aefe15afe9f501576941500f1136d780a42176c72e59ee06c7d9
MD5 b6f0f6b426ecc523e00f19cf44f6facc
BLAKE2b-256 73e128e20758a05ee6acfea875a6d32754d3bf03b800a9b1dc9d09b194b971ab

See more details on using hashes here.

File details

Details for the file drugautoml-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: drugautoml-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for drugautoml-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6f046be7ed87e6c7135fc53f61f2c1732d575fd29c0d5740a319c7675807c7e4
MD5 a982451730f8ffc9eb9df73f26820de6
BLAKE2b-256 a6f5d5d838a48574c65295c65548d855521bd500182ff160b1bba68fad8db17c

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