Package libai.common.kernels
Class SigmoidalKernel
- java.lang.Object
-
- libai.common.kernels.SigmoidalKernel
-
- All Implemented Interfaces:
java.io.Serializable
,Kernel
public class SigmoidalKernel extends java.lang.Object implements Kernel
Sigmoid Kernel. Follows the form: K(x,y) = tanh(a * xy + b), where a & b are parameters of this kernel.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SigmoidalKernel(double a, double b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
eval(Matrix A, Matrix B)
Evaluates a kernel between the two Vectors .
-