__call__ (
self,
emissionDomain,
distribution,
A,
B,
pi,
hmmName=None,
labelDomain=None,
labelList=None,
)
Exceptions
|
|
GHMMError( type( distribution ), "Cannot construct model for this domain/distribution combination" )
GHMMError( type( distribution ), "Not a valid distribution for Alphabet" )
InvalidModelParameters, " Different number of entries in A and B."
InvalidModelParameters, "A is not quadratic."
InvalidModelParameters, "Either labelDomain and labelInput are both given or neither of the two."
InvalidModelParameters, "Length of pi does not match length of A."
InvalidModelParameters, "The number of " + str(len(B [ i ] ) ) + " emission parameters for state " + str( i ) + " is invalid. State order can not be determined."
TypeError, "LabelDomain object required."
|
|