Package org.biojava.stats.svm
Class RadialBaseKernel
java.lang.Object
org.biojava.stats.svm.NestedKernel
org.biojava.stats.svm.RadialBaseKernel
- All Implemented Interfaces:
Serializable
,SVMKernel
This kernel computes the radial base kernel that corresponds to a gausian
distribution.
The formula for this is exp( -||a - b|| / (2* width ^ 2))
. The
term a-b can be represented in an arbitrary feature space by using a nested
kernel k, and becomes k(a, a) + k(b, b) - 2 * k(a, b)
.
As k(x, x) is required repeatedly, I suggest using a DiagonalCachingKernel as the immediately nested kernel function.
- Author:
- Matthew Pocock
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.biojava.stats.svm.NestedKernel
getNestedKernel, setNestedKernel
-
Constructor Details
-
RadialBaseKernel
public RadialBaseKernel() -
RadialBaseKernel
-
-
Method Details