Part I explains why the contrastive PCA of @jameszou.bsky.social is flawed, and (at best) can be viewed as a Taylor approximation of a Rayleigh quotient. Optimization of the RQ directly is not only possible but tractable via a generalized eigenvalue problem. 2/ www.biorxiv.org/content/10.1...

www.biorxiv.org