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

Class TrainingSequence

source code

Hold a training sequence with emissions and optionally, a state path.

Instance Methods [hide private]
 
__init__(self, emissions, state_path)
Initialize a training sequence.
source code
Method Details [hide private]

__init__(self, emissions, state_path)
(Constructor)

source code 

Initialize a training sequence.

Arguments:

o emissions - A Seq object containing the sequence of emissions in the training sequence, and the alphabet of the sequence.

o state_path - A Seq object containing the sequence of states and the alphabet of the states. If there is no known state path, then the sequence of states should be an empty string.