2013/7/22 Andreas Mueller <[email protected]>:
> 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).

I'd rather raise a descriptive error message. I understand the
confusion from a Matlab user, but then I prefer enforcing Python
conventions over supporting Matlab conventions as well. (Remember all
the trouble we had when it turned out our input validation would let
np.matrix objects through, which use Matlab conventions for slicing?)

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
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