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()Constructor.
-
-
Method Details
-
f
-
g
public double g(double x) Description copied from interface:DifferentiableFunctionComputes the gradient/derivative at x.- Specified by:
gin interfaceDifferentiableFunction- Parameters:
x- a real number.- Returns:
- the derivative.
-
g2
public double g2(double x) Description copied from interface:DifferentiableFunctionCompute the second-order derivative at x.- Specified by:
g2in interfaceDifferentiableFunction- Parameters:
x- a real number.- Returns:
- the second-order derivative.
-