Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.NaiveBayes.NaiveBayes Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes


Detailed Description

Holds information for a NaiveBayes classifier.

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.

Definition at line 38 of file

Constructor & Destructor Documentation

Definition at line 48 of file

00049     def __init__(self):
00050         self.classes = []
00051         self.p_conditional = None
00052         self.p_prior = []
00053         self.dimensionality = None

Here is the caller graph for this function:

Member Data Documentation

Definition at line 49 of file

Definition at line 52 of file

Definition at line 50 of file

Definition at line 51 of file

The documentation for this class was generated from the following file: