On 2012-02-01, at 5:10 AM, Mathieu Blondel wrote:

> Hello,
> 
> I just realized that the function "mean_square_error" returns
> np.sum((y_true - y_pred) ** 2) instead of np.mean((y_true - y_pred) **
> 2). Hence it is more a cumulated error than a mean error.
> 
> I would like to fix this but this will change people's results.

I might suggest mean over training examples but sum over output dimensions, if 
there is more than one.

David
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to