On Fri, Nov 09, 2012 at 04:32:35PM +0100, federico vaggi wrote:
> Is there any reason why in the case of a matrix y, the coefficients returned 
> by
> the linear regression seem to be a transpose of the actual coefficient matrix?
>  I am sure this is just a case of syntax/convenience, but I was actually 
> trying
> to understand the logic.

The logic is that in the scikit-learn, every 2D array should be of shape
(n_items, n_features).

G

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to