Package | Description |
---|---|
org.apache.commons.math3.ml.neuralnet |
Neural networks.
|
org.apache.commons.math3.ml.neuralnet.twod |
Two-dimensional neural networks.
|
Modifier and Type | Method and Description |
---|---|
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 . |
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
neurons list. |
Collection<Neuron> |
Network.getNeighbours(Iterable<Neuron> neurons,
Iterable<Neuron> exclude)
Retrieves the neurons in the neighbourhood of any neuron in the
neurons list. |
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
a to neuron b . |
int |
Network.NeuronIdentifierComparator.compare(Neuron a,
Neuron b) |
void |
Network.deleteLink(Neuron a,
Neuron b)
Deletes the link between neurons
a and b . |
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
neurons list. |
Collection<Neuron> |
Network.getNeighbours(Iterable<Neuron> neurons,
Iterable<Neuron> exclude)
Retrieves the neurons in the neighbourhood of any neuron in the
neurons list. |
Collection<Neuron> |
Network.getNeighbours(Iterable<Neuron> neurons,
Iterable<Neuron> exclude)
Retrieves the neurons in the neighbourhood of any neuron in the
neurons list. |
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.
|
Modifier and Type | Method and Description |
---|---|
Neuron |
NeuronSquareMesh2D.getNeuron(int i,
int j)
Retrieves the neuron at location
(i, j) in the map. |
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.