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

Class SymetricHardLimitActivationFunction

  • All Implemented Interfaces:
    ActivationFunctionModel


    public class SymetricHardLimitActivationFunction
    extends java.lang.Object
    implements ActivationFunctionModel
    Symmetric Hard Limit function return 1 if input value is greater then threshold and -1 otherwise.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SymetricHardLimitActivationFunction(double p)
      Creates a new instance of SymetricHardLimitActivationFunction with specified parameter p
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[] getParamateres()
      Return array contains parameters list
      double getValue(double inputValue)
      Return 1 if input value is greater then p and -1 otherwise.
      void setParameteres(double[] paramateresList)
      Set parameters of Hard limit activation function
      • Methods inherited from class java.lang.Object

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

      • SymetricHardLimitActivationFunction

        public SymetricHardLimitActivationFunction(double p)
        Creates a new instance of SymetricHardLimitActivationFunction with specified parameter p
        Parameters:
        p - threshold
    • Method Detail

      • setParameteres

        public void setParameteres(double[] paramateresList)
        Set parameters of Hard limit activation function
        Specified by:
        setParameteres in interface ActivationFunctionModel
        Parameters:
        paramateresList - Array of parameters
      • getParamateres

        public double[] getParamateres()
        Return array contains parameters list
        Specified by:
        getParamateres in interface ActivationFunctionModel
        Returns:
        Array of parameters
      • getValue

        public double getValue(double inputValue)
        Return 1 if input value is greater then p and -1 otherwise.
        Specified by:
        getValue in interface ActivationFunctionModel
        Parameters:
        inputValue - input Value
        Returns:
        value of the function

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.