| Package | Description | 
|---|---|
| org.apache.commons.math3.ml.neuralnet | Neural networks. | 
| org.apache.commons.math3.ml.neuralnet.twod | Two-dimensional neural networks. | 
| org.apache.commons.math3.ml.neuralnet.twod.util | Utilities to visualize two-dimensional neural networks. | 
| Modifier and Type | Method and Description | 
|---|---|
| Neuron | Neuron. copy()Performs a deep copy of this instance. | 
| static Neuron | MapUtils. findBest(double[] features,
        Iterable<Neuron> neurons,
        DistanceMeasure distance)Finds the neuron that best matches the given features. | 
| Neuron | Network. getNeuron(long id)Retrieves the neuron with the given (unique)  id. | 
| static Neuron[] | MapUtils. sort(double[] features,
    Iterable<Neuron> neurons,
    DistanceMeasure distance)Creates a list of neurons sorted in increased order of the distance
 to the given  features. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Pair<Neuron,Neuron> | MapUtils. findBestAndSecondBest(double[] features,
                     Iterable<Neuron> neurons,
                     DistanceMeasure distance)Finds the two neurons that best match the given features. | 
| static Pair<Neuron,Neuron> | MapUtils. findBestAndSecondBest(double[] features,
                     Iterable<Neuron> neurons,
                     DistanceMeasure distance)Finds the two neurons that best match the given features. | 
| Collection<Neuron> | Network. getNeighbours(Iterable<Neuron> neurons)Retrieves the neurons in the neighbourhood of any neuron in the
  neuronslist. | 
| Collection<Neuron> | Network. getNeighbours(Iterable<Neuron> neurons,
             Iterable<Neuron> exclude)Retrieves the neurons in the neighbourhood of any neuron in the
  neuronslist. | 
| Collection<Neuron> | Network. getNeighbours(Neuron neuron)Retrieves the neighbours of the given neuron. | 
| Collection<Neuron> | Network. getNeighbours(Neuron neuron,
             Iterable<Neuron> exclude)Retrieves the neighbours of the given neuron. | 
| Collection<Neuron> | Network. getNeurons(Comparator<Neuron> comparator)Creates a list of the neurons, sorted in a custom order. | 
| Iterator<Neuron> | Network. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Network. addLink(Neuron a,
       Neuron b)Adds a link from neuron  ato neuronb. | 
| int | Network.NeuronIdentifierComparator. compare(Neuron a,
       Neuron b) | 
| void | Network. deleteLink(Neuron a,
          Neuron b)Deletes the link between neurons  aandb. | 
| void | Network. deleteNeuron(Neuron neuron)Deletes a neuron. | 
| Collection<Neuron> | Network. getNeighbours(Neuron neuron)Retrieves the neighbours of the given neuron. | 
| Collection<Neuron> | Network. getNeighbours(Neuron neuron,
             Iterable<Neuron> exclude)Retrieves the neighbours of the given neuron. | 
| Modifier and Type | Method and Description | 
|---|---|
| static double | MapUtils. computeQuantizationError(Iterable<double[]> data,
                        Iterable<Neuron> neurons,
                        DistanceMeasure distance)Computes the quantization error. | 
| static Neuron | MapUtils. findBest(double[] features,
        Iterable<Neuron> neurons,
        DistanceMeasure distance)Finds the neuron that best matches the given features. | 
| static Pair<Neuron,Neuron> | MapUtils. findBestAndSecondBest(double[] features,
                     Iterable<Neuron> neurons,
                     DistanceMeasure distance)Finds the two neurons that best match the given features. | 
| Collection<Neuron> | Network. getNeighbours(Iterable<Neuron> neurons)Retrieves the neurons in the neighbourhood of any neuron in the
  neuronslist. | 
| Collection<Neuron> | Network. getNeighbours(Iterable<Neuron> neurons,
             Iterable<Neuron> exclude)Retrieves the neurons in the neighbourhood of any neuron in the
  neuronslist. | 
| Collection<Neuron> | Network. getNeighbours(Iterable<Neuron> neurons,
             Iterable<Neuron> exclude)Retrieves the neurons in the neighbourhood of any neuron in the
  neuronslist. | 
| Collection<Neuron> | Network. getNeighbours(Neuron neuron,
             Iterable<Neuron> exclude)Retrieves the neighbours of the given neuron. | 
| Collection<Neuron> | Network. getNeurons(Comparator<Neuron> comparator)Creates a list of the neurons, sorted in a custom order. | 
| static Neuron[] | MapUtils. sort(double[] features,
    Iterable<Neuron> neurons,
    DistanceMeasure distance)Creates a list of neurons sorted in increased order of the distance
 to the given  features. | 
| Modifier and Type | Method and Description | 
|---|---|
| Neuron | NeuronSquareMesh2D. getNeuron(int i,
         int j)Retrieves the neuron at location  (i, j)in the map. | 
| Neuron | NeuronSquareMesh2D. getNeuron(int row,
         int col,
         NeuronSquareMesh2D.HorizontalDirection alongRowDir,
         NeuronSquareMesh2D.VerticalDirection alongColDir)Retrieves the neuron at  (location[0], location[1])in the map. | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterator<Neuron> | NeuronSquareMesh2D. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| LocationFinder.Location | LocationFinder. getLocation(Neuron n)Retrieves a neuron's grid coordinates. | 
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.