Package Bio :: Package HMM :: Module Utilities
[hide private]
[frames] | no frames]

Module Utilities

source code

Generic functions which are useful for working with HMMs.

This just collects general functions which you might like to use in
dealing with HMMs.

Functions [hide private]
 
pretty_print_prediction(emissions, real_state, predicted_state, emission_title='Emissions', real_title='Real State', predicted_title='Predicted State', line_width=75)
Print out a state sequence prediction in a nice manner.
source code
Variables [hide private]
  __package__ = 'Bio.HMM'
Function Details [hide private]

pretty_print_prediction(emissions, real_state, predicted_state, emission_title='Emissions', real_title='Real State', predicted_title='Predicted State', line_width=75)

source code 
Print out a state sequence prediction in a nice manner.

Arguments:

o emissions -- The sequence of emissions of the sequence you are
dealing with.

o real_state -- The actual state path that generated the emissions.

o predicted_state -- A state path predicted by some kind of HMM model.