Metadata-Version: 2.1
Name: ModifiedNB
Version: 0.2
Summary: Laplace corrected modified naïve bayes model
Home-page: https://github.com/chembl/ModifiedNB/
Author: Eloy Félix
Author-email: eloyfelix@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: Chemistry
Requires-Dist: scikit-learn (>=0.19.0)

# ModifiedNB Model

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]))
```


