You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Evan Ward (JIRA)" <ji...@apache.org> on 2013/08/21 20:23:52 UTC
[jira] [Created] (MATH-1024) LU and QR have different default
singularity thresholds
Evan Ward created MATH-1024:
-------------------------------
Summary: LU and QR have different default singularity thresholds
Key: MATH-1024
URL: https://issues.apache.org/jira/browse/MATH-1024
Project: Commons Math
Issue Type: Bug
Affects Versions: 3.2
Reporter: Evan Ward
Priority: Minor
LU uses 1e-11 and QR uses 0. This means by default QR never throws a Singularity exception. This caused divergence to go unreported in GaussNewtonOptimizer when it uses QR. I think a consistent default should be chosen. I will make the threshold explicit in GaussNewton.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Created] (MATH-1024) LU and QR have different default
singularity thresholds
Posted by Gilles <gi...@harfang.homelinux.org>.
On Fri, 23 Aug 2013 09:00:32 -0400, Evan Ward wrote:
> On 08/21/2013 06:00 PM, Gilles wrote:
>> Hi.
>>
>> On Wed, 21 Aug 2013 18:23:52 +0000 (UTC), Evan Ward (JIRA) wrote:
>>> Evan Ward created MATH-1024:
>>> -------------------------------
>>>
>>> Summary: LU and QR have different default singularity
>>> thresholds
>>> Key: MATH-1024
>>> URL:
>>> https://issues.apache.org/jira/browse/MATH-1024
>>> Project: Commons Math
>>> Issue Type: Bug
>>> Affects Versions: 3.2
>>> Reporter: Evan Ward
>>> Priority: Minor
>>>
>>>
>>> LU uses 1e-11 and QR uses 0. This means by default QR never throws
>>> a
>>> Singularity exception. This caused divergence to go unreported in
>>> GaussNewtonOptimizer when it uses QR. I think a consistent default
>>> should be chosen. I will make the threshold explicit in
>>> GaussNewton.
>>
>> I could readily specify a threshold value (e.g. 1e-11) in class
>> "GaussNewtonOptimizer" (where the solver is instantiated), if it
>> is deemed more consistent.
>> Any objection to make the change (in "o.a.c.m.fitting.leastsquares)?
>
> That is what I did. :)
Not in the SVN repository, I assume?
[See also my comment on the JIRA page.]
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [jira] [Created] (MATH-1024) LU and QR have different default
singularity thresholds
Posted by Evan Ward <ev...@nrl.navy.mil>.
On 08/21/2013 06:00 PM, Gilles wrote:
> Hi.
>
> On Wed, 21 Aug 2013 18:23:52 +0000 (UTC), Evan Ward (JIRA) wrote:
>> Evan Ward created MATH-1024:
>> -------------------------------
>>
>> Summary: LU and QR have different default singularity
>> thresholds
>> Key: MATH-1024
>> URL: https://issues.apache.org/jira/browse/MATH-1024
>> Project: Commons Math
>> Issue Type: Bug
>> Affects Versions: 3.2
>> Reporter: Evan Ward
>> Priority: Minor
>>
>>
>> LU uses 1e-11 and QR uses 0. This means by default QR never throws a
>> Singularity exception. This caused divergence to go unreported in
>> GaussNewtonOptimizer when it uses QR. I think a consistent default
>> should be chosen. I will make the threshold explicit in GaussNewton.
>
> I could readily specify a threshold value (e.g. 1e-11) in class
> "GaussNewtonOptimizer" (where the solver is instantiated), if it
> is deemed more consistent.
> Any objection to make the change (in "o.a.c.m.fitting.leastsquares)?
That is what I did. :)
>
>
> Best regards,
> Gilles
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [jira] [Created] (MATH-1024) LU and QR have different default
singularity thresholds
Posted by Gilles <gi...@harfang.homelinux.org>.
Hi.
On Wed, 21 Aug 2013 18:23:52 +0000 (UTC), Evan Ward (JIRA) wrote:
> Evan Ward created MATH-1024:
> -------------------------------
>
> Summary: LU and QR have different default singularity
> thresholds
> Key: MATH-1024
> URL: https://issues.apache.org/jira/browse/MATH-1024
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.2
> Reporter: Evan Ward
> Priority: Minor
>
>
> LU uses 1e-11 and QR uses 0. This means by default QR never throws a
> Singularity exception. This caused divergence to go unreported in
> GaussNewtonOptimizer when it uses QR. I think a consistent default
> should be chosen. I will make the threshold explicit in GaussNewton.
I could readily specify a threshold value (e.g. 1e-11) in class
"GaussNewtonOptimizer" (where the solver is instantiated), if it
is deemed more consistent.
Any objection to make the change (in "o.a.c.m.fitting.leastsquares)?
Best regards,
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org