Uses of Class
org.apache.commons.math3.ml.neuralnet.Neuron
-
Packages that use Neuron Package Description org.apache.commons.math3.ml.neuralnet Neural networks.org.apache.commons.math3.ml.neuralnet.sofm Self Organizing Feature Map.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. -
-
Uses of Neuron in org.apache.commons.math3.ml.neuralnet
Fields in org.apache.commons.math3.ml.neuralnet declared as Neuron Modifier and Type Field Description private Neuron
MapUtils.PairNeuronDouble. neuron
Key.private Neuron[]
Network.SerializationProxy. neuronList
Neurons.Fields in org.apache.commons.math3.ml.neuralnet with type parameters of type Neuron Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.Long,Neuron>
Network. neuronMap
Neurons.Methods in org.apache.commons.math3.ml.neuralnet that return Neuron Modifier and Type Method Description Neuron
Neuron. copy()
Performs a deep copy of this instance.static Neuron
MapUtils. findBest(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Finds the neuron that best matches the given features.Neuron
MapUtils.PairNeuronDouble. getNeuron()
Neuron
Network. getNeuron(long id)
Retrieves the neuron with the given (unique)id
.static Neuron[]
MapUtils. sort(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Creates a list of neurons sorted in increased order of the distance to the givenfeatures
.Methods in org.apache.commons.math3.ml.neuralnet that return types with arguments of type Neuron Modifier and Type Method Description static Pair<Neuron,Neuron>
MapUtils. findBestAndSecondBest(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Finds the two neurons that best match the given features.static Pair<Neuron,Neuron>
MapUtils. findBestAndSecondBest(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Finds the two neurons that best match the given features.java.util.Collection<Neuron>
Network. getNeighbours(java.lang.Iterable<Neuron> neurons)
Retrieves the neurons in the neighbourhood of any neuron in theneurons
list.java.util.Collection<Neuron>
Network. getNeighbours(java.lang.Iterable<Neuron> neurons, java.lang.Iterable<Neuron> exclude)
Retrieves the neurons in the neighbourhood of any neuron in theneurons
list.java.util.Collection<Neuron>
Network. getNeighbours(Neuron neuron)
Retrieves the neighbours of the given neuron.java.util.Collection<Neuron>
Network. getNeighbours(Neuron neuron, java.lang.Iterable<Neuron> exclude)
Retrieves the neighbours of the given neuron.java.util.Collection<Neuron>
Network. getNeurons(java.util.Comparator<Neuron> comparator)
Creates a list of the neurons, sorted in a custom order.java.util.Iterator<Neuron>
Network. iterator()
Methods in org.apache.commons.math3.ml.neuralnet with parameters of type Neuron Modifier and Type Method Description void
Network. addLink(Neuron a, Neuron b)
Adds a link from neurona
to neuronb
.int
Network.NeuronIdentifierComparator. compare(Neuron a, Neuron b)
void
Network. deleteLink(Neuron a, Neuron b)
Deletes the link between neuronsa
andb
.void
Network. deleteNeuron(Neuron neuron)
Deletes a neuron.java.util.Collection<Neuron>
Network. getNeighbours(Neuron neuron)
Retrieves the neighbours of the given neuron.java.util.Collection<Neuron>
Network. getNeighbours(Neuron neuron, java.lang.Iterable<Neuron> exclude)
Retrieves the neighbours of the given neuron.Method parameters in org.apache.commons.math3.ml.neuralnet with type arguments of type Neuron Modifier and Type Method Description static Neuron
MapUtils. findBest(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Finds the neuron that best matches the given features.static Pair<Neuron,Neuron>
MapUtils. findBestAndSecondBest(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Finds the two neurons that best match the given features.java.util.Collection<Neuron>
Network. getNeighbours(java.lang.Iterable<Neuron> neurons)
Retrieves the neurons in the neighbourhood of any neuron in theneurons
list.java.util.Collection<Neuron>
Network. getNeighbours(java.lang.Iterable<Neuron> neurons, java.lang.Iterable<Neuron> exclude)
Retrieves the neurons in the neighbourhood of any neuron in theneurons
list.java.util.Collection<Neuron>
Network. getNeighbours(Neuron neuron, java.lang.Iterable<Neuron> exclude)
Retrieves the neighbours of the given neuron.java.util.Collection<Neuron>
Network. getNeurons(java.util.Comparator<Neuron> comparator)
Creates a list of the neurons, sorted in a custom order.static Neuron[]
MapUtils. sort(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)
Creates a list of neurons sorted in increased order of the distance to the givenfeatures
.Constructors in org.apache.commons.math3.ml.neuralnet with parameters of type Neuron Constructor Description Network(long nextId, int featureSize, Neuron[] neuronList, long[][] neighbourIdList)
Constructor with restricted access, solely used for deserialization.PairNeuronDouble(Neuron neuron, double value)
SerializationProxy(long nextId, int featureSize, Neuron[] neuronList, long[][] neighbourIdList)
-
Uses of Neuron in org.apache.commons.math3.ml.neuralnet.sofm
Methods in org.apache.commons.math3.ml.neuralnet.sofm that return Neuron Modifier and Type Method Description private Neuron
KohonenUpdateAction. findAndUpdateBestNeuron(Network net, double[] features, double learningRate)
Searches for the neuron whose features are closest to the given sample, and atomically updates its features.Methods in org.apache.commons.math3.ml.neuralnet.sofm with parameters of type Neuron Modifier and Type Method Description private boolean
KohonenUpdateAction. attemptNeuronUpdate(Neuron n, double[] features, double learningRate)
Tries to update a neuron.private void
KohonenUpdateAction. updateNeighbouringNeuron(Neuron n, double[] features, double learningRate)
Atomically updates the given neuron. -
Uses of Neuron in org.apache.commons.math3.ml.neuralnet.twod
Methods in org.apache.commons.math3.ml.neuralnet.twod that return Neuron Modifier and Type Method 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.Methods in org.apache.commons.math3.ml.neuralnet.twod that return types with arguments of type Neuron Modifier and Type Method Description java.util.Iterator<Neuron>
NeuronSquareMesh2D. iterator()
-
Uses of Neuron in org.apache.commons.math3.ml.neuralnet.twod.util
Methods in org.apache.commons.math3.ml.neuralnet.twod.util with parameters of type Neuron Modifier and Type Method Description LocationFinder.Location
LocationFinder. getLocation(Neuron n)
Retrieves a neuron's grid coordinates.
-