You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2015/04/09 14:40:12 UTC
[jira] [Resolved] (MATH-1206) Cost in least-squares fitting
[ https://issues.apache.org/jira/browse/MATH-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles resolved MATH-1206.
--------------------------
Resolution: Fixed
Methods added in commit 0a499402d707bc8cf775d7f9b3840780a7401f7d
> Cost in least-squares fitting
> -----------------------------
>
> Key: MATH-1206
> URL: https://issues.apache.org/jira/browse/MATH-1206
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.3, 3.4, 3.4.1
> Reporter: Gilles
> Assignee: Gilles
> Fix For: 4.0
>
> Attachments: MATH-1206.patch, MATH-1206.patch
>
>
> In {{org.apache.commons.math4.fitting.leastsquares.AbstractEvaluation}}, the value returned by the "getCost" method is not consistent with the definition of "cost" in a least-squares problem: It is the sum of the squares of the residuals, but the method returns the square-root of that quantity.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)