-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi Ejlb,
I' d like to use your pegasos library but when I try to import pegasos in python I obtain an ImportError which is the following:
Python 2.7.9 |Anaconda 2.2.0 (64-bit)| (default, Mar 9 2015, 16:20:48)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
import pegasos
Traceback (most recent call last):
File "", line 1, in
File "pegasos/init.py", line 18, in
from .models import SVMPegasosBase, LogisticPegasosBase
File "pegasos/models.py", line 20, in
from .base import PegasosBase
File "pegasos/base.py", line 21, in
from sklearn.utils import atleast2d_or_csr
ImportError: cannot import name atleast2d_or_csr
I'm using the current version of scikit learn (0.16.1) in which atleast2d_or_csr isn't available.
Please would you have an idea or a solution ?
Thank you in advance,
Chris