Cholesky decomposition error while eigenvalues are positive
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196065/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196066/image.png)
Ensuring the matrix is symmetric does not help either (
)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196067/image.png)
3 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Eigenvalues & Eigenvectors in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!