Trees  Indices  Help 



General Naive Bayes learner.
Naive Bayes is a supervised classification algorithm that uses Bayes rule to compute the fit between a new observation and some previously observed data. The observations are discrete feature vectors, with the Bayes assumption that the features are independent. Although this is hardly ever true, the classifier works well enough in practice.


NaiveBayes Hold information for a NaiveBayes classifier. 











__package__ =


Calculate the logarithmic conditional probability for each class.
A dictionary is returned where the key is the class and the value is the log probability of the class. 
Train a NaiveBayes classifier on a training set.

Trees  Indices  Help 


Generated by Epydoc 3.0.1 on Mon Jul 10 15:14:13 2017  http://epydoc.sourceforge.net 