Documentation of 'jhpro.nnet.jknnl.GaussNeighbourhoodFunction' Java class
GaussNeighbourhoodFunction
jhpro.nnet.jknnl

Class GaussNeighbourhoodFunction

    • Constructor Summary

      Constructors 
      Constructor and Description
      GaussNeighbourhoodFunction(int radius)
      Creates a new instance of GaussNeighbourhoodFunction with specified radius
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[] getParameters()
      Return array containing parameter r - radius
      double getValue(int distance)
      Return value calculated by function describe as exp(-(k^2))/(2*r^2))
      void setParameters(double[] parameters)
      Set parameters.
      • Methods inherited from class java.lang.Object

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

      • GaussNeighbourhoodFunction

        public GaussNeighbourhoodFunction(int radius)
        Creates a new instance of GaussNeighbourhoodFunction with specified radius
        Parameters:
        radius - Radius
    • Method Detail

      • setParameters

        public void setParameters(double[] parameters)
        Set parameters. r - radius
        Specified by:
        setParameters in interface NeighbourhoodFunctionModel
        Parameters:
        parameters - constant value
      • getValue

        public double getValue(int distance)
        Return value calculated by function describe as exp(-(k^2))/(2*r^2))
        Specified by:
        getValue in interface NeighbourhoodFunctionModel
        Parameters:
        distance - distance value
        Returns:
        value of function factor

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.