ajaykpaul / python-naive-bayes

Naive Bayes in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naive Bayes in Python Source

$ git clone git@github.com:yhat/python-naive-bayes.git
$ cd python-naive-bayes
$ python nb.py
('File Name :', u'examples/Allosaurus.txt')
('Score(dino)  :', 1.7777297062779534e+26)
('Score(crypto):', 1617656.2932267354)
('File Name :', u'examples/Python.txt')
('Score(dino)  :', 5482.325210726829)
('Score(crypto):', 832.0706697339581)
('File Name :', u'examples/Yeti.txt')
('Score(dino)  :', 2601.7664705783586)
('Score(crypto):', 25239.08993198242)

About

Naive Bayes in Python

License:MIT License


Languages

Language:Python 100.0%