Thomas Neidhart created MATH-892:
------------------------------------
Summary: 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
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