All covariance matrices are positive semi-definite. If the covariance matrix isn't positive definite, that implies that it is singular. A singular covariance matrix occurs when the source data contains linearly dependent features. You need to remove linearly dependent features from your source data.
Sycorax
- 94.1k
- 23
- 236
- 390