Skip to main content

**LaplacianNB** is a Python module developed at **Novartis AG** for Naive Bayes classifier for laplacian modified models based on scikit-learn Naive Bayes implementation.

Project description

LaplacianNB

Naive Bayes classifier for Laplacian-modified models
Efficient, scikit-learn compatible, and designed for binary/boolean data

PyPI Version PyPI Downloads Python Versions

LaplacianNB is a Python module developed at Novartis AG for a Naive Bayes classifier for Laplacian-modified models, based on the scikit-learn Naive Bayes implementation.

This classifier is ideal for binary/boolean data, using only the indices of positive bits for efficient prediction. The algorithm was first implemented in Pipeline Pilot and KNIME.


🚀 Features

  • Naive Bayes classifier for Laplacian-modified models
  • Optimized for binary/boolean data
  • Fast prediction using indices of positive bits
  • scikit-learn compatible API
  • Lightweight and easy to integrate

📦 Installation

Install the latest release from PyPI:

pip install laplaciannb

📚 Literature

Nidhi; Glick, M.; Davies, J. W.; Jenkins, J. L. Prediction of biological targets
for compounds using multiple-category Bayesian models trained on chemogenomics
databases. J. Chem. Inf. Model. 2006, 46, 1124– 1133,
https://doi.org/10.1021/ci060003g

Lam PY, Kutchukian P, Anand R, et al. Cyp1 inhibition prevents doxorubicin-induced cardiomyopathy
in a zebrafish heart-failure model. Chem Bio Chem. 2020:cbic.201900741.
https://doi.org/10.1002/cbic.201900741

👤 Authors & Maintainers


📝 Changelog

  • v0.6.1 - Fixes for scikit-learn 1.7, rdkit 2025+ compatibility, move to uv build
  • v0.6.0 - Move to pdm build
  • v0.5.0 - Initial release

📄 License

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

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

laplaciannb-0.6.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

laplaciannb-0.6.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file laplaciannb-0.6.1.tar.gz.

File metadata

  • Download URL: laplaciannb-0.6.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for laplaciannb-0.6.1.tar.gz
Algorithm Hash digest
SHA256 7bbd42f55792566043d26cef74e0ddb8f31bfc348cf948ca3968eb14c7097cb2
MD5 023c8b776429eea731679fbce4b4c236
BLAKE2b-256 eccc6d3741a2002eb67fb4ead9acde26e19e5c94983e07c1d576f1f88b6d757f

See more details on using hashes here.

File details

Details for the file laplaciannb-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: laplaciannb-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for laplaciannb-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c54ffaf2f372b2afbeb84d32b58fd26b4d9291b4a89aacb30a2a44fb892256
MD5 dbc3816a2568257baeb493e5762955e7
BLAKE2b-256 642ec75e743cd22e218b1cc4cf9a7d4faba74cb61809da292d578a3c62486d1e

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