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

 classes
 p_conditional
 p_prior
 dimensionality

Detailed Description

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.

Definition at line 38 of file NaiveBayes.py.


Constructor & Destructor Documentation

Definition at line 48 of file NaiveBayes.py.

00048 
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 NaiveBayes.py.

Definition at line 52 of file NaiveBayes.py.

Definition at line 50 of file NaiveBayes.py.

Definition at line 51 of file NaiveBayes.py.


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