Re: [Scikit-learn-general] Congratulations GSOC Students!

2015-05-04 Thread Wei Xue
Thanks, Andy. Thank you all for accepting my proposal. Looking forward to working at my best with Olivier, Loic! I would like also to congratulate other participants Raghav and Artem and wish best of luck. I am finishing work and projects this semester, and will be back full-time in these days.

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread Gael Varoquaux
> I thought that was discouraged and X.reshape(-1, 1) was suggested? > (The newaxis makes it be neigher C nor F contiguous) Indeed, sorry. G -- One dashboard for servers and applications across Physical-Virtual-Cloud W

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread Andy
On 05/04/2015 07:47 AM, Gael Varoquaux wrote: > On Mon, May 04, 2015 at 01:32:02PM +0200, federico vaggi wrote: >> I think Gael makes a very strong argument, but I think the error should be as >> explicit and informative as possible (for new users). > +1. Including suggesting the syntax X[:, np.new

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread Michael Eickenberg
(fwiw I think it's worse ;) : scalars are 1x1 matrices, i.e. 2d vectors in matlab) On Mon, May 4, 2015 at 2:03 PM, federico vaggi wrote: > Yeah, especially coming from MATLAB, where there are so many weird special > cases (scalars being 1 dimensional vectors, etc) to make it easy to use. > > On

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread federico vaggi
Yeah, especially coming from MATLAB, where there are so many weird special cases (scalars being 1 dimensional vectors, etc) to make it easy to use. On Mon, May 4, 2015 at 1:47 PM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > On Mon, May 04, 2015 at 01:32:02PM +0200, federico vaggi wro

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread Gael Varoquaux
On Mon, May 04, 2015 at 01:32:02PM +0200, federico vaggi wrote: > I think Gael makes a very strong argument, but I think the error should be as > explicit and informative as possible (for new users). +1. Including suggesting the syntax X[:, np.newaxis], which is not trivial. G > On Fri, May 1, 2

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread federico vaggi
I think Gael makes a very strong argument, but I think the error should be as explicit and informative as possible (for new users). On Fri, May 1, 2015 at 7:58 PM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > I strongly advice raising an error. Very very very strongly. > > Being lax a

[Scikit-learn-general] [GSoC2015 metric learning]

2015-05-04 Thread Michael Eickenberg
Dear Artem, congratulations on the acceptance of your GSoC proposal! I am certain there will be a very interesting summer ahead of us. Kyle and I are excited to be mentors and will do our best to provide all the guidance necessary for your project to succeed. It is very rich and will be a great ad

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread Olivier Grisel
I am ok for raising an error by default when passing 1D arrays as X to fit, predict and transform and allow for 1d array for the specific cases where there is no ambiguity and the expected content of the array is documented explicitly in the docstring (e.g. for feature extractors such as text vecto

Re: [Scikit-learn-general] RFC (also by users) on interpreting 1d X

2015-05-04 Thread Arnaud Joly
I am in favour of raising a error. Arnaud > On 01 May 2015, at 19:58, Gael Varoquaux > wrote: > > I strongly advice raising an error. Very very very strongly. > > Being lax about ambiguous inputs makes prototyping and interactive usage > easier: less typing, and the systems gets it right mos