spectral icon indicating copy to clipboard operation
spectral copied to clipboard

What if the covariance is a singular matrix?

Open zxdawn opened this issue 2 years ago • 1 comments

Sometimes, we may get a singular matrix as the covariance. The inv_cov won't work. Is it correct to use np.linalg.pinv instead of np.linalg.inv for this kind of case?

zxdawn avatar Oct 15 '23 19:10 zxdawn