Export to GitHub

pmtk3 - issue #11

Problem with hmmFitFullyObs function


Posted on Dec 10, 2010 by Helpful Elephant

What steps will reproduce the problem?

%% generate observation sequence and hidded state sequence using Matlab %% HMM toolbox TRANS = [.9 .1; .05 .95;];

EMIS = [1/6, 1/6, 1/6, 1/6, 1/6, 1/6;... 7/12, 1/12, 1/12, 1/12, 1/12, 1/12];

[seq,states] = hmmgenerate(10000,TRANS,EMIS);

%% test hmmFit function of pmtk3 [model, loglikHist] = hmmFit(seq, 2, 'discrete'); model.emission.T % good model.A % good

%% test hmmFitFullyObs function of pmtk3 model = hmmFitFullyObs(states, seq, 'discrete'); model.emission.T % problem: all elements of this matrix are "1" model.A % good

What is the expected output? What do you see instead? All elements of model.emission.T generated by hmmFitFullyObs function are "1", which I think is not correct.

What version / revision of the product are you using? On what operating system? pmtk3-23nov10, Matlab 2009b, Win XP sp3

Please provide any additional information below.

Attachments

Comment #1

Posted on Jan 4, 2014 by Happy Camel

Moved to GitHub: https://github.com/probml/pmtk3/issues/11

Comment #2

Posted on Jan 4, 2014 by Happy Camel

Moved to GitHub: https://github.com/probml/pmtk3/issues/12

Status: New

Labels:
Type-Defect Priority-Medium