mlpy.stats.dbn.hmm.GaussianHMM.fit

GaussianHMM.fit(obs, n_init=1)

Estimate model parameters.

Parameters:

obs : array_like, shape (n, ni, nfeatures)

List of observation sequences, where n is the number of sequences, ni is the length of the i_th observation, and each observation has nfeatures features.

Returns:

float :

log likelihood of the sequence obs