Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Aniket Meshram
I'm using Ubuntu 16.04 LTS Xenial, which shows 0.23.4-0ubuntu5 as the latest. https://packages.ubuntu.com/search?keywords=cython But yes, you are right, I checked on official Cython and I'll

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Andreas Mueller
Please stay on the mailing list. That's not the current version. Please try updating as Olivier suggested. On 12/04/2017 01:52 PM, Aniket Meshram wrote: $ cython --version Cython version 0.23.4 On Mon, Dec 4, 2017 at 10:28 PM, Andreas Mueller > wrote: What version

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Luigi Lomasto
You can try to use python 3 with pip3 Inviato da iPhone > Il giorno 04 dic 2017, alle ore 18:16, Albert Thomas > ha scritto: > > Maybe run ‘make clean’ before running pip install ... > > Albert >> On Mon 4 Dec 2017 at 16:11, Aniket Meshram >> wrote: >> I updated all the packages before run

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Albert Thomas
Maybe run ‘make clean’ before running pip install ... Albert On Mon 4 Dec 2017 at 16:11, Aniket Meshram wrote: > I updated all the packages before running install. > > On Mon, Dec 4, 2017 at 6:07 PM, Olivier Grisel > wrote: > >> Maybe update your version of Cython? >> >> -- >> Olivier >> ​ >> >

Re: [scikit-learn] Announcing sklearn-xarray

2017-12-04 Thread Peter Hausamann
PS: obviously forcing conversion to numpy is not what we would want, rather passing the underlying array of the DataArray. Peter Hausamann schrieb am Mo., 4. Dez. 2017 um 17:25 Uhr: > Thanks everyone for your feedback. > > The reason you're getting the error is because the first argument of > Da

Re: [scikit-learn] Announcing sklearn-xarray

2017-12-04 Thread Peter Hausamann
Thanks everyone for your feedback. The reason you're getting the error is because the first argument of DataArray.mean() is the named dimension 'dim' and not 'axis'. So calling X.mean(axis=0) would probably solve the problem... but it might be easier (and more robust) to fix this on my end by alwa

Re: [scikit-learn] Announcing sklearn-xarray

2017-12-04 Thread Tom Augspurger
I haven't looked at the implementation of `sklearn_xarray.dataarray.wrap` yet, but a simple test on `dask_ml.preprocessing.StandardScaler` failed with the (probably expected) `TypeError: 'int' object is not iterable` when dask-ml attempts an `X.mean(0)`. I'd be interested to hear what changes dask

Re: [scikit-learn] Announcing sklearn-xarray

2017-12-04 Thread Olivier Grisel
Interesting project! BTW, do you know about dask-ml [1]? It might be interesting to think about generalizing the input validation of fit and predict / transform as a private method of the BaseEstimator class instead of directly calling into sklearn.utils.validation functions so has to make it eas

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Aniket Meshram
I updated all the packages before running install. On Mon, Dec 4, 2017 at 6:07 PM, Olivier Grisel wrote: > Maybe update your version of Cython? > > -- > Olivier > ​ > > ___ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org

Re: [scikit-learn] Using scikit-learn HTML theme for Sphinx docs in another project

2017-12-04 Thread Iacopo Poli
Cool! Of course will change logo and icon :-) Thank you very much, Iacopo 2017-12-04 15:47 GMT+01:00 Gael Varoquaux : > You're not infringing copyright (this is BSD-licensed). The only thing is > that we would like you to indicate clearly that the project is not > scikit-learn, so that we don't

Re: [scikit-learn] Using scikit-learn HTML theme for Sphinx docs in another project

2017-12-04 Thread Gael Varoquaux
You're not infringing copyright (this is BSD-licensed). The only thing is that we would like you to indicate clearly that the project is not scikit-learn, so that we don't recieve support calls. For this, in addition to text pointing it out, you should use a different logo and a different icon the

[scikit-learn] Announcing sklearn-xarray

2017-12-04 Thread Peter Hausamann
Hi all, I'd like to announce *sklearn-xarray*, a new package that provides a scikit-learn interface for xarray users. For those not familiar with xarray (http://xarray.pydata.org), it is a "pandas-like and pandas-compatible toolkit for analytics on multi-dimensional arrays". The package makes it

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Olivier Grisel
Maybe update your version of Cython? -- Olivier ​ ___ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn

[scikit-learn] Using scikit-learn HTML theme for Sphinx docs in another project

2017-12-04 Thread Iacopo Poli
Hello everyone, I'm working on a project that is implemented following quite strictly the scikit-learn API and I would like to use the scikit-learn Sphinx theme for the docs. I would do that only if I don't infringe any copyright and whatsoever. What's your policy in this regard? Cheers, Iacopo

Re: [scikit-learn] a dataset suitable for logistic regression

2017-12-04 Thread Francois Dion
There's at least one that is part of base.py in sklearn.datasets. from sklearn.datasets import load_breast_cancer load_breast_cancer? Signature: load_breast_cancer(return_X_y=False) Docstring: Load and return the breast cancer wisconsin dataset (classification). The breast cancer dataset is a c