Cholesky decomposition error while eigenvalues are positive
显示 更早的评论
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 个评论
Matt J
2018-11-21
What's max(eig(COV)) ?
Niels Uitterdijk
2018-11-21
Niels Uitterdijk
2019-1-8
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!