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 NeuronMapUtils.PairNeuronDouble. neuronKey.private Neuron[]Network.SerializationProxy. neuronListNeurons.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. neuronMapNeurons.Methods in org.apache.commons.math3.ml.neuralnet that return Neuron Modifier and Type Method Description NeuronNeuron. copy()Performs a deep copy of this instance.static NeuronMapUtils. findBest(double[] features, java.lang.Iterable<Neuron> neurons, DistanceMeasure distance)Finds the neuron that best matches the given features.NeuronMapUtils.PairNeuronDouble. getNeuron()NeuronNetwork. 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 theneuronslist.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 theneuronslist.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 voidNetwork. addLink(Neuron a, Neuron b)Adds a link from neuronato neuronb.intNetwork.NeuronIdentifierComparator. compare(Neuron a, Neuron b)voidNetwork. deleteLink(Neuron a, Neuron b)Deletes the link between neuronsaandb.voidNetwork. 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 NeuronMapUtils. 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 theneuronslist.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 theneuronslist.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 NeuronKohonenUpdateAction. 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 booleanKohonenUpdateAction. attemptNeuronUpdate(Neuron n, double[] features, double learningRate)Tries to update a neuron.private voidKohonenUpdateAction. 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 NeuronNeuronSquareMesh2D. getNeuron(int i, int j)Retrieves the neuron at location(i, j)in the map.NeuronNeuronSquareMesh2D. 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.LocationLocationFinder. getLocation(Neuron n)Retrieves a neuron's grid coordinates.
-