xlearn icon indicating copy to clipboard operation
xlearn copied to clipboard

module 'xlearn' has no attribute 'DMatrix'

Open BastiaanBergman opened this issue 5 years ago • 3 comments

DMatrix not available,...

$ pip install xlearn
Collecting xlearn
  Downloading https://files.pythonhosted.org/packages/ab/1b/9ad0093cac05d6f95d3d768bc855804b18723c72120ce45cd930bd303587/xlearn-0.40a1.tar.gz (4.9MB)
     |████████████████████████████████| 4.9MB 2.1MB/s
Building wheels for collected packages: xlearn
  Building wheel for xlearn (setup.py) ... done
  Stored in directory: /Users/user/Library/Caches/pip/wheels/59/7d/71/699578f3cb69f16a2e5f648d978259dba959c92a5a6eca9451
Successfully built xlearn
Installing collected packages: xlearn
Successfully installed xlearn-0.40a1
$ python
Python 3.6.7 |Anaconda custom (64-bit)| (default, Oct 23 2018, 14:01:38)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import xlearn as xl
>>> xl.__version__
'0.4.0'
>>> xl.DMatrix
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'xlearn' has no attribute 'DMatrix'
>>>

BastiaanBergman avatar May 26 '19 21:05 BastiaanBergman

@BastiaanBergman Hi, you can build from the source code on github because we didn't update our pip install for now. Thanks!

aksnzhy avatar May 27 '19 01:05 aksnzhy

Tnx! Exciting project, thanks for the great work! I wonder if "out of core" learning is essentially the same as "online learning" and whether either can be used with the DMatrix api?

BastiaanBergman avatar May 29 '19 03:05 BastiaanBergman

@BastiaanBergman The DMatrix api for Python does not support out of core for now. It supports online learning.

etveritas avatar May 29 '19 04:05 etveritas