You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2012/11/10 17:53:12 UTC

[jira] [Resolved] (MATH-892) Add a constructor for SpearmansCorrelation that allows to solely set the Ranking algorithm

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

Thomas Neidhart resolved MATH-892.
----------------------------------

    Resolution: Fixed

Added in r1407847.
                
> Add a constructor for SpearmansCorrelation that allows to solely set the Ranking algorithm
> ------------------------------------------------------------------------------------------
>
>                 Key: MATH-892
>                 URL: https://issues.apache.org/jira/browse/MATH-892
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Thomas Neidhart
>
> As suggested by Patrick Meyer on the users mailinglist:
> currently there is no way to create an instance of SpearmansCorrelation and set the used RankingAlgorithm.
> There are ctors to provide both data and algorithm, but it would be convenient to have a ctor that only sets the algorithm and allows for later calls to correlate, suggested signature:
> {noformat}
>     public SpearmansCorrelation(final RankingAlgorithm rankingAlgorithm)
> {noformat}

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