Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with directionality index #2

Open
pranithavangala opened this issue Dec 8, 2017 · 1 comment
Open

Error with directionality index #2

pranithavangala opened this issue Dec 8, 2017 · 1 comment

Comments

@pranithavangala
Copy link

Hi

Im able t o create directionality index files with the “DI_from_matrix.pl”. But when I try to run the HMM_call.m I get the below error, can you tell me what is going wrong ?

Error using chol
Matrix must be positive definite.

Error in gaussLogprob (line 52)
R = chol(Sigma);

Error in mixGaussInferLatent (line 17)
logPz(:, k) = logMix(k) + gaussLogprob(mu(:, k), Sigma(:, :, k), X);

Error in mixGaussFit>estep (line 53)
[weights, ll] = mixGaussInferLatent(model, data);

Error in emAlgo (line 60)
[ess, ll] = estep(model, data);

@dhkron
Copy link
Owner

dhkron commented Dec 8, 2017

The DI code makes several assumptions about the inputs. Are your inputs both symmetric and positive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants