Table of Contents

Class: EmissionDomain /amd/bernoulli/1/home/abt_vin/georgi/hmm/0.7/ghmm//ghmmwrapper/ghmm.py

Abstract base class for emissions produced by an HMM.

There can be two representations for emissions: 1) An internal, used in ghmm.py and the ghmm C-library 2) An external, used in your particular application

Example: The underlying library represents symbols from a finite, discrete domain as integers (see Alphabet).

EmissionDomain is the identity mapping

  • EmissionDomain and derived -------------------------------------------------
Methods   
external
externalSequence
internal
internalSequence
isAdmissable
  external 
external ( self,  internal )

Given an internal representation return the external representation

  externalSequence 
externalSequence ( self,  internalSequence )

Given a sequence with the internal representation return the external representation

  internal 
internal ( self,  emission )

Given a emission return the internal representation

  internalSequence 
internalSequence ( self,  emissionSequence )

Given a emissionSequence return the internal representation

  isAdmissable 
isAdmissable ( self,  emission )

Check whether emission is admissable (contained in) the domain raises GHMMOutOfDomain else


Table of Contents

This document was automatically generated on Fri Jan 20 14:56:59 2006 by HappyDoc version WORKING