Class MapRanking


  • public class MapRanking
    extends Object
    Utility for ranking the units (neurons) of a network.
    Since:
    4.0
    • Method Detail

      • rank

        public List<Neuronrank​(double[] features)
        Creates a list of the neurons whose features best correspond to the given features.
        Parameters:
        features - Data.
        Returns:
        the list of neurons sorted in decreasing order of distance to the given data.
        Throws:
        IllegalArgumentException - if the size of the input is not compatible with the neurons features size.
      • rank

        public List<Neuronrank​(double[] features,
                                 int max)
        Creates a list of the neurons whose features best correspond to the given features.
        Parameters:
        features - Data.
        max - Maximum size of the returned list.
        Returns:
        the list of neurons sorted in decreasing order of distance to the given data.
        Throws:
        IllegalArgumentException - if the size of the input is not compatible with the neurons features size or max <= 0.