Cholesky decomposition error while eigenvalues are positive

조회 수: 4 (최근 30일)
Niels Uitterdijk
Niels Uitterdijk 2018년 11월 21일
댓글: Niels Uitterdijk 2019년 1월 8일
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
Niels Uitterdijk
Niels Uitterdijk 2018년 11월 21일
Large positive, 77.9.
As a sidenote, I do occasionaly get complex eigenvalues for certain intervals. Trying to fix this by forcing the matrix to be symmetric pushes the eigenvalues to be negative (-7.3).
Niels Uitterdijk
Niels Uitterdijk 2019년 1월 8일
I ended up using an SVD, which can achieve the same result.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by