Package smile.ica
Class LogCosh
java.lang.Object
smile.ica.LogCosh
- All Implemented Interfaces:
Serializable
,DifferentiableFunction
,Function
A good general-purpose contrast function for ICA.
- See Also:
-
Constructor Details
-
LogCosh
public LogCosh()
-
-
Method Details
-
f
public double f(double x) Description copied from interface:Function
Computes the value of the function at x. -
g
public double g(double x) Description copied from interface:DifferentiableFunction
Computes the gradient/derivative at x.- Specified by:
g
in interfaceDifferentiableFunction
- Parameters:
x
- a real number.- Returns:
- the derivative.
-
g2
public double g2(double x) Description copied from interface:DifferentiableFunction
Compute the second-order derivative at x.- Specified by:
g2
in interfaceDifferentiableFunction
- Parameters:
x
- a real number.- Returns:
- the second-order derivative.
-