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

ANN: add "sort" method in "MapUtils"

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 4.0, 3.6
    • None

    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

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: