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

Module Trainer

source code

Provide trainers which estimate parameters based on training sequences.

These should be used to 'train' a Markov Model prior to actually using
it to decode state paths. When supplied training sequences and a model
to work from, these classes will estimate parameters of the model.

This aims to estimate two parameters:

* a_{kl} -- the number of times there is a transition from k to l in the
training data.

* e_{k}(b) -- the number of emissions of the state b from the letter k
in the training data.

Classes [hide private]
Hold a training sequence with emissions and optionally, a state path.
Provide generic functionality needed in all trainers.
Trainer that uses the Baum-Welch algorithm to estimate parameters.
Estimate probabilities with known state sequences.
Variables [hide private]
  __package__ = 'Bio.HMM'