Cholesky decomposition error while eigenvalues are positive
Ältere Kommentare anzeigen
For a Bayesian optimization I use the lower Cholesky decomposition. However, for a large interval the covariance matrices can have some zero eigenvalues which is not accepted for this decomposition. Adding a small diagonal is supposed to fix this. The eigenvalues are indeed positive but still I get an error saying the matrix is not positive definite.

Ensuring the matrix is symmetric does not help either (
)
) 3 Kommentare
Matt J
am 21 Nov. 2018
What's max(eig(COV)) ?
Niels Uitterdijk
am 21 Nov. 2018
Niels Uitterdijk
am 8 Jan. 2019
Antworten (0)
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!