On 07/22/2013 05:20 PM, Arslan, Ali wrote:
> Sorry, That email was sent prematurely (thanks gmail)
>
> I was saying that labs' dimension was indicative of the error. Doing 
> this solved it:
>
> labs = labs[:,0]
>
>
> It may seem obvious but switching from matlab, the difference between 
> (1000,1) and (1000,) is still not perfectly clear to me. Hence I spent 
> so much time on it.
>
I would really like all our estimators to accept (n_samples, 1) because 
that is indeed subtle and non-intuitive for beginners.
Unfortunately that is not the case (yet).

Cheers,
Andy

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to