Skip to content

Conversation

@nxd914
Copy link

@nxd914 nxd914 commented Dec 28, 2025

This PR adds a RuntimeWarning when a covariance matrix is positive semidefinite
but numerically ill-conditioned, suggesting the use of shrinkage estimators
(Ledoit-Wolf or OAS) for improved numerical stability.

No API or behavioral changes are introduced. A unit test is included.

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.

1 participant