[
https://issues.apache.org/jira/browse/MATH-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Neidhart closed MATH-892.
--------------------------------
> 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
> Fix For: 3.1
>
>
> 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