Scikit-learn based implementation of the popular cheminformatics Laplace corrected Naïve Bayes algorithm as described in:
Prediction of Biological Targets for Compounds Using Multiple-Category Bayesian Models Trained on Chemogenomics Databases
Nidhi,†, Meir Glick,‡, John W. Davies,‡ and, and Jeremy L. Jenkins*,‡
Journal of Chemical Information and Modeling 2006 46 (3), 1124-1133
DOI: 10.1021/ci060003g
## Installation
pip install ModifiedNB
## Usage
Works exactly like any other scikit-learn model.
```python
import numpy as np
X = np.random.randint(5, size=(6, 100))
y = np.array([1, 2, 3, 4, 5, 6])
from ModifiedNB import ModifiedNB
clf = ModifiedNB()
clf.fit(X, y)
print(clf.predict(X[2:3]))
```
Metadata
Release files for ModifiedNB 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ModifiedNB-0.2.tar.gz | 2.4 kB | Without provenance | Details for ModifiedNB-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ModifiedNB-0.2-py3-none-any.whl | Python 3 | none | any | Details for ModifiedNB-0.2-py3-none-any.whl |
Total release size: 5.3 kB
Release files / ModifiedNB-0.2.tar.gz
| Download URL | ModifiedNB-0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818ccc96a439c7f1f15724412b4e5ea5efa0a8b0d91c3e33643831a60276b8bf
|
|
BLAKE2b-256 checksum How to use checksums |
1b581c446d6f39b285ff51a7bf5cf0177255db4c7902534c1f4e459578d5e3ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Release files / ModifiedNB-0.2-py3-none-any.whl
| Download URL | ModifiedNB-0.2-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cdf01aa5022a6b214c44e7c52f72f91e8a27cd59d0cf200db31170d9826f757
|
|
BLAKE2b-256 checksum How to use checksums |
8e4f33a3d4aba3e91c4f0d6bf4c1dffa81a59ff0ea266068613b9e49057e6af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Security for ModifiedNB 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.