biopython v1.71.0 Bio.NaiveBayes.NaiveBayes

Hold information for a NaiveBayes classifier.

Attributes:

  • 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.

Link to this section Summary

Functions

Initialize the class

Link to this section Functions

Initialize the class.