Documentation of 'Catalano.Neuro.ActivationFunction.ParametricReluFunction' Java class
ParametricReluFunction
Catalano.Neuro.ActivationFunction

Class ParametricReluFunction

    • Constructor Summary

      Constructors 
      Constructor and Description
      ParametricReluFunction()
      Initializes a new instance of the ParametricReluFunction function.
      ParametricReluFunction(double alpha)
      Initializes a new instance of the ParametricReluFunction function.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Derivative(double x)
      Calculates function derivative.
      double Derivative2(double x)
      Calculates function derivative.
      double Function(double x)
      Calculates function value.
      double getAlpha()
      Get alpha parameter.
      void setAlpha(double alpha)
      Set alpha parameter.
      • Methods inherited from class java.lang.Object

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

      • ParametricReluFunction

        public ParametricReluFunction()
        Initializes a new instance of the ParametricReluFunction function.
      • ParametricReluFunction

        public ParametricReluFunction(double alpha)
        Initializes a new instance of the ParametricReluFunction function.
        Parameters:
        alpha - Alpha.
    • Method Detail

      • getAlpha

        public double getAlpha()
        Get alpha parameter.
        Returns:
        Alpha parameter.
      • setAlpha

        public void setAlpha(double alpha)
        Set alpha parameter.
        Parameters:
        alpha - Alpha parameter.
      • Function

        public double Function(double x)
        Description copied from interface: IActivationFunction
        Calculates function value.
        Specified by:
        Function in interface IActivationFunction
        Parameters:
        x - Function input value.
        Returns:
        Function output value, f(x).
      • Derivative

        public double Derivative(double x)
        Description copied from interface: IActivationFunction
        Calculates function derivative.
        Specified by:
        Derivative in interface IActivationFunction
        Parameters:
        x - Function input value.
        Returns:
        Function derivative, f'(x).
      • Derivative2

        public double Derivative2(double x)
        Description copied from interface: IActivationFunction
        Calculates function derivative.
        Specified by:
        Derivative2 in interface IActivationFunction
        Parameters:
        x - Function output value - the value, which was obtained with the help of Function method.
        Returns:
        Function derivative, f'(x).

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.