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

align package issues #12

Open
ogencoglu opened this issue Jan 24, 2020 · 2 comments
Open

align package issues #12

ogencoglu opened this issue Jan 24, 2020 · 2 comments

Comments

@ogencoglu
Copy link

Trying to run from mklaren.regression.ridge import RidgeLowRank on python3.8 and getting ImportError: cannot import name 'Align' from 'align' error.

I believe updates are needed to comply with align package updates.

@chienc1
Copy link

chienc1 commented Sep 3, 2020

I have this same issue! Here it is, seems I can't use some regression models:

ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from mklaren.regression.ridge import RidgeLowRank
2
3 for method in "nystrom", "icd":
4 model = RidgeLowRank(method=method, rank=15)
5 model.fit([K], y_tr)

~/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/mklaren/regression/init.py in

  1 from .spgp import *

----> 2 from .ridge import *

~/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/mklaren/regression/ridge.py in

  8 from ..mkl.align import Align, AlignLowRank
  9 from ..mkl.alignf import Alignf, AlignfLowRank

---> 10 from ..mkl.l2krr import L2KRR, L2KRRlowRank
11 from ..mkl.uniform import UniformAlignment, UniformAlignmentLowRank
12

~/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/mklaren/mkl/init.py in
2 from .align_csi import *
3 from .alignf import *
----> 4 from .l2krr import *
5 from .mklaren import *
6 from .uniform import *

~/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/mklaren/mkl/l2krr.py in
7
8 """
----> 9 from align import Align
10 from numpy import ones, zeros, eye, array, hstack, sqrt
11 from numpy.linalg import inv, norm

ModuleNotFoundError: No module named 'align'

@InesFaria-UM
Copy link

Getting the same error!
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

3 participants