Documentation of 'org.neuroph.nnet.comp.layer.CompetitiveLayer' Java class
CompetitiveLayer
org.neuroph.nnet.comp.layer

Class CompetitiveLayer

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<Neuron>


    public class CompetitiveLayer
    extends Layer
    Represents layer of competitive neurons, and provides methods for competition. TODO: competitive learning 3. training dw=n(i-w)
    See Also:
    Serialized Form
    • Constructor Detail

      • CompetitiveLayer

        public CompetitiveLayer(int neuronNum,
                                NeuronProperties neuronProperties)
        Create an instance of CompetitiveLayer with the specified number of neurons with neuron properties
        Parameters:
        neuronNum - neuron number in this layer
        neuronProperties - properties for the nurons in this layer
    • Method Detail

      • calculate

        public void calculate()
        Performs calculaton for all neurons in this layer
        Overrides:
        calculate in class Layer
      • getWinner

        public CompetitiveNeuron getWinner()
        Returns the winning neuron for this layer
        Returns:
        winning neuron for this layer
      • getMaxIterations

        public int getMaxIterations()
        Returns the maxIterations setting for this layer
        Returns:
        maxIterations setting for this layer
      • setMaxIterations

        public void setMaxIterations(int maxIterations)
        Sets max iterations for neurons to compete in this layer
        Parameters:
        maxIterations - max iterations for neurons to compete in this layer

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.