[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Updated] (MATH-1206) Cost in least-squares fitting
From:       "Gilles (JIRA)" <jira () apache ! org>
Date:       2015-02-26 15:48:06
Message-ID: JIRA.12777885.1424958922000.23405.1424965686123 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/MATH-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Gilles updated MATH-1206:
-------------------------
    Attachment: MATH-1206.patch

This patch does not modify the semantics of the current code, it only adds a new \
"getChiSquare()" method that returns the value of the objective functon (defined as \
"the sum of the squares of the residuals").

OK to apply?


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic