Comments (5)
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.
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.
[deleted comment]
from pmtk3.
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.
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)
- running initPtmk3 fails to download support packages HOT 2
- Initialization failure on Mac OS (Lion) and Matlab 2012a HOT 9
- hmmFit and MixedGaussTied HOT 3
- Run initPmtk3.m Matlab Student Version on Mac OS X 10.8.2 - Failure HOT 3
- Solved: Downloads Problem and isOctave problem HOT 1
- logsumexp.m from /stats is missing HOT 2
- Parsing error in emAlgo.m HOT 1
- Parsing error in emAlgo.m HOT 1
- kde.m calls figure(1), but it should not. HOT 1
- libsvmTrain call in svmFitTest HOT 2
- imputeKnn.m issue HOT 2
- runDemos crashing in agglomDemo HOT 3
- Installationproblem HOT 2
- gaussFit incorrectly updates of distribution HOT 1
- Error, How to deal with the error of "Matrix must be positive definite" HOT 1
- Adaptive Rejection Sampling incorrect HOT 1
- fisherDiscrimVowelDemo (pca-part issue?) HOT 1
- error in mutualInfoAllPairsMixed.m HOT 1
- autocorr not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmtk3.