Documentation of 'org.encog.neural.som.training.basic.neighborhood.NeighborhoodRBF' Java class
NeighborhoodRBF
org.encog.neural.som.training.basic.neighborhood

Class NeighborhoodRBF

    • Constructor Summary

      Constructors 
      Constructor and Description
      NeighborhoodRBF(int[] size, RBFEnum type)
      Construct a multi-dimensional neighborhood function.
      NeighborhoodRBF(RBFEnum type, int x, int y)
      Construct a 2d neighborhood function based on the sizes for the x and y dimensions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double function(int currentNeuron, int bestNeuron)
      Calculate the value for the multi RBF function.
      double getRadius() 
      RadialBasisFunction getRBF() 
      void setRadius(double radius)
      Set the radius.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NeighborhoodRBF

        public NeighborhoodRBF(RBFEnum type,
                               int x,
                               int y)
        Construct a 2d neighborhood function based on the sizes for the x and y dimensions.
        Parameters:
        type - The RBF type to use.
        x - The size of the x-dimension.
        y - The size of the y-dimension.
      • NeighborhoodRBF

        public NeighborhoodRBF(int[] size,
                               RBFEnum type)
        Construct a multi-dimensional neighborhood function.
        Parameters:
        size - The sizes of each dimension.
        type - The RBF type to use.
    • Method Detail

      • function

        public double function(int currentNeuron,
                               int bestNeuron)
        Calculate the value for the multi RBF function.
        Specified by:
        function in interface NeighborhoodFunction
        Parameters:
        currentNeuron - The current neuron.
        bestNeuron - The best neuron.
        Returns:
        A percent that determines the amount of training the current neuron should get. Usually 100% when it is the bestNeuron.
      • setRadius

        public void setRadius(double radius)
        Set the radius.
        Specified by:
        setRadius in interface NeighborhoodFunction
        Parameters:
        radius - The radius.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.