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

ANN: add "sort" method in "MapUtils"

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 4.0, 3.6
    • Labels:

      Description

      Add a method

      public static Neuron[] sort(double[] features,
                                  Iterable<Neuron> neurons,
                                  DistanceMeasure distance) { /* ... */ }
      

      that returns the neurons sorted in increasing order of their distance (in data space) to the given features.

        Attachments

          Activity

            People

            • Assignee:
              erans Gilles
              Reporter:
              erans Gilles
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: