mstrazar / mklaren

A Python Multiple kernel learning library.
Other
58 stars 24 forks source link

align package #6

Closed cbutakoff closed 6 years ago

cbutakoff commented 6 years ago

Np, the issue is here. Where could I get the correct align package, that is used in mklaren/mklaren/mkl/l2krr.py ?

cbutakoff commented 6 years ago

found it

orpia commented 6 years ago

@cbutakoff where did you get it? I didpip install align but I am getting the following error

ImportError                               Traceback (most recent call last)
<ipython-input-7-5c575a3723ad> in <module>()
----> 1 from mklaren.mkl.mklaren import Mklaren

~\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\mklaren\mkl\__init__.py in <module>()
      2 from .align_csi import *
      3 from .alignf import *
----> 4 from .l2krr import *
      5 from .mklaren import *
      6 from .uniform import *

~\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\mklaren\mkl\l2krr.py in <module>()
      7 
      8 """
----> 9 from align import Align
     10 from numpy import ones, zeros, eye, array, hstack, sqrt
     11 from numpy.linalg import inv, norm

ImportError: cannot import name 'Align'

while doing from mklaren.mkl.mklaren import Mklaren

cbutakoff commented 6 years ago

I don't remember. It was a long time ago, I don't remember how the issue with align ended up, but I remember that in the end I could not make it work and left it alone.