cca_zoo icon indicating copy to clipboard operation
cca_zoo copied to clipboard

The algorithm failed to converge because the input matrix is ill-conditioned or has too many repeated eigenvalues (error code: 1).

Open Neel-132 opened this issue 1 year ago • 2 comments

Everytime I try to run the Deep Multiset CCA, I come across this error "The algorithm failed to converge because the input matrix is ill-conditioned or has too many repeated eigenvalues (error code: 1)". I am literally using random matrices but the DCCA model along with the MCCA loss but still I keep encountering this error.

Neel-132 avatar Dec 15 '23 06:12 Neel-132

A fairly common reason for this is if you are using batch size < latent dimensions. The classic DCCA, DMCCA, DGCCA algorithms will all break.

I recommend giving our DCCA-EY algorithm a go if you are in the batch size < latent dimensions setting.

jameschapman19 avatar Dec 15 '23 13:12 jameschapman19

I am so sorry for troubling you with such rookie problems. Thank you its fixed

Neel-132 avatar Dec 17 '23 05:12 Neel-132