On Fri, Nov 09, 2012 at 05:16:21PM +0100, federico vaggi wrote:
> In this case, the w that will be returned by in .coef will be of shape
> (n_samples, n_features) if I follow the nomenclature correctly?

(n_targets, n_features), I believe.

> I guess the 'rule' is that n_features should always represent the
> number of columns?  I only came across this because I was working with
> some square matrix, and I kept getting stupid results until I actually
> did some checking on what the orientation of w was.

Never work with square matrices :).

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