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

fix "Warning: Matrix is not positive definite" error #11

Open
jsnelgro opened this issue Aug 9, 2015 · 1 comment
Open

fix "Warning: Matrix is not positive definite" error #11

jsnelgro opened this issue Aug 9, 2015 · 1 comment

Comments

@jsnelgro
Copy link
Collaborator

jsnelgro commented Aug 9, 2015

getting this error:

Warning: Matrix is not positive definite 
  In logdet (line 15)
  In mywishpdfln (line 32)
  In simAnneal (line 41)
  In runAnnealBayes (line 40)
  In runFullSims (line 142) 
@jsnelgro jsnelgro changed the title fix Warning: Matrix is not positive definite error fix "Warning: Matrix is not positive definite" error Aug 9, 2015
@jsnelgro
Copy link
Collaborator Author

  • possible solution: check if datapoint determinant is positive. If it's not, throw out the data point and move on. (because it's a useless datapoint anyways)

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

No branches or pull requests

1 participant