Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
I have this working now, but something funny is going on...

More general example than provided in hmmGaussTest.m is below:

nDays = 252;
nObsPerDay = 855;
z = 1;                  %z = 1 is univariate, z> 1 is multivariate
thisPdf = @rand;
data = repmat({thisPdf(z, nObsPerDay)}, [nDays 1]);
kStates = 25;
model = hmmFitEm(data, kStates, 'gauss');

Original comment by [email protected] on 21 Nov 2012 at 2:34

from pmtk3.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
Having said that when I try with "real data" i get the same error as above for 
chol(Sigma) with Sigma = 0, even though the synthetic data (with thisPdf = 
@randn) works fine.

any suggestions? thanks






Original comment by [email protected] on 21 Nov 2012 at 2:54

from pmtk3.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
[deleted comment]

from pmtk3.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
The problem seems to be related to specifying too large a number of states for 
a given data set.

When Mu and Sigma can not be assigned correctly (ie are set to NaN or zero or 
-inf etc), they cause the code to fail in odd ways...

It would be nicer if at the point of assigning unsuitable parameters, the code 
gave a sensible error message saying that the data will not support this number 
of states.

The largest value for kStates I can get to run is 4, which does not seem very 
many. Zoubin G's code allows much larger values (~500) to run, but without 
really digging down into the code, I dont know why this is.

Original comment by [email protected] on 21 Nov 2012 at 3:20

from pmtk3.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
Moved to GitHub: https://github.com/probml/pmtk3/issues/49

Original comment by irosen on 4 Jan 2014 at 2:37

from pmtk3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.