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

Module Bio.HMM.Utilities

Generic functions which are useful for working with HMMs.

This just collects general functions which you might like to use in dealing with HMMs.
Function Summary
  pretty_print_prediction(emissions, real_state, predicted_state, emission_title, real_title, predicted_title, line_width)
Print out a state sequence prediction in a nice manner.

Function Details

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.

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.

Generated by Epydoc 2.1 on Wed Jan 31 09:57:59 2007 http://epydoc.sf.net