Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-892

Add a constructor for SpearmansCorrelation that allows to solely set the Ranking algorithm

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Labels:
      None

      Description

      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:

          public SpearmansCorrelation(final RankingAlgorithm rankingAlgorithm)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tn Thomas Neidhart
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: