Skip to content

Conversation

mikedeltalima
Copy link

#151

Doesn't fail existing tests, but should add a test for this. Could revert some of the auto-whitespace removal if desired.

Deprecated version of the method in utils.py. Should update this as well?

@coveralls
Copy link

coveralls commented Nov 22, 2019

Coverage Status

Coverage decreased (-0.04%) to 75.592% when pulling 9363f60 on mikedeltalima:covariance-warn into 8170c84 on QInfer:master.

@mikedeltalima
Copy link
Author

mikedeltalima commented Dec 13, 2019

This fixes a warning in an existing test, so I am not going to add a new test unless one is suggested.

src/qinfer/tests/test_smc.py::TestSMCEffectiveSampleSize::test_resample_thresh
  /Users/mdlauria/gitSource/python-qinfer/src/qinfer/distributions.py:397: ApproximationWarning: Numerical error in covariance estimation causing positive semidefinite violation.
    warnings.warn('Numerical error in covariance estimation causing positive semidefinite violation.', ApproximationWarning)

@mikedeltalima mikedeltalima changed the title WIP: suggested change to correct small eigenvalues in covariance Correct small negative eigenvalues in covariance Dec 13, 2019
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

Successfully merging this pull request may close these issues.

2 participants