Catalano.Neuro.ActivationFunction
Class RadialBasisFunction
- java.lang.Object
-
- Catalano.Neuro.ActivationFunction.RadialBasisFunction
-
- All Implemented Interfaces:
- IActivationFunction
public class RadialBasisFunction extends java.lang.Object implements IActivationFunction
Radial basis activation function.
-
-
Constructor Summary
Constructors Constructor and Description RadialBasisFunction()Initializes a new instance of the RadialBasisFunction class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleDerivative(double x)Calculates function derivative.doubleDerivative2(double x)Calculates function derivative.doubleFunction(double x)Calculates function value.
-
-
-
Constructor Detail
-
RadialBasisFunction
public RadialBasisFunction()
Initializes a new instance of the RadialBasisFunction class.
-
-
Method Detail
-
Function
public double Function(double x)
Description copied from interface:IActivationFunctionCalculates function value.- Specified by:
Functionin interfaceIActivationFunction- Parameters:
x- Function input value.- Returns:
- Function output value, f(x).
-
Derivative
public double Derivative(double x)
Description copied from interface:IActivationFunctionCalculates function derivative.- Specified by:
Derivativein interfaceIActivationFunction- Parameters:
x- Function input value.- Returns:
- Function derivative, f'(x).
-
Derivative2
public double Derivative2(double x)
Description copied from interface:IActivationFunctionCalculates function derivative.- Specified by:
Derivative2in interfaceIActivationFunction- 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