Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ForeCA #58

Open
N1r opened this issue Mar 31, 2021 · 1 comment
Open

ForeCA #58

N1r opened this issue Mar 31, 2021 · 1 comment

Comments

@N1r
Copy link

N1r commented Mar 31, 2021

I found out this pretty repo for foreca dyca and cca, I wonder why foreca has been limited to d < 1 , for what kind of reason? thanks.

def init(self, d, T, init="random_ortho", n_init=1, tol=1e-6,
verbose=False, device="cpu", dtype=torch.float64,
rng_or_seed=20200818):
self.d = d
if d > 1:
raise ValueError

@JesseLivezey
Copy link
Member

Hi @N1r, we didn't have the need to implement this for d > 1, so we never got around to it. Foreca for d > 1 is a little more tricky than other methods because you need to keep the projection orthonormal during optimization. This is easy for d = 1, but requires more work for d > 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants