Package Bio :: Module NaiveBayes :: Class NaiveBayes
[hide private]
[frames] | no frames]

Class NaiveBayes

source code

Holds information for a NaiveBayes classifier.

Members: classes List of the possible classes of data. p_conditional CLASS x DIM array of dicts of value -> P(value|class,dim) p_prior List of the prior probabilities for every class. dimensionality Dimensionality of the data.

Instance Methods [hide private]
 
__init__(self) source code