Gilles created MATH-1264:
----------------------------
Summary: ANN: add "sort" method in "MapUtils"
Key: MATH-1264
URL: https://issues.apache.org/jira/browse/MATH-1264
Project: Commons Math
Issue Type: Wish
Reporter: Gilles
Assignee: Gilles
Priority: Minor
Fix For: 4.0, 3.6
Add a method
{code}
public static Neuron[] sort(double[] features,
Iterable<Neuron> neurons,
DistanceMeasure distance) { /* ... */ }
{code}
that returns the neurons sorted in increasing order of their distance (in data
space) to the given features.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)