[jira] [Resolved] (MATH-891) SpearmansCorrelation fails when using NaturalRanking together with NaNStrategy.REMOVED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (MATH-891) SpearmansCorrelation fails when using NaturalRanking together with NaNStrategy.REMOVED

Bruno P. Kinoshita (Jira)

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

Thomas Neidhart resolved MATH-891.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2

Applied changes in r1461822 and created MATH-958.
               

> SpearmansCorrelation fails when using NaturalRanking together with NaNStrategy.REMOVED
> --------------------------------------------------------------------------------------
>
>                 Key: MATH-891
>                 URL: https://issues.apache.org/jira/browse/MATH-891
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Thomas Neidhart
>             Fix For: 3.2
>
>         Attachments: MATH-891.patch
>
>
> As reported by Martin Rosellen on the users mailinglist:
> Using a NaturalRanking with a REMOVED NaNStrategy can result in an exception when NaN are contained in the input arrays.
> The current implementation just removes the NaN values where they occur, without taken care to remove the corresponding values in the other array.

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