Package org.biojava.stats.svm
Class NestedKernel
- java.lang.Object
-
- org.biojava.stats.svm.NestedKernel
-
- All Implemented Interfaces:
java.io.Serializable
,SVMKernel
- Direct Known Subclasses:
CachingKernel
,DiagonalAddKernel
,DiagonalCachingKernel
,ListSumKernel
,NormalizingKernel
,PolynomialKernel
,RadialBaseKernel
public abstract class NestedKernel extends java.lang.Object implements SVMKernel, java.io.Serializable
Encapsulates a kernel that wraps another kernel up.- Author:
- Matthew Pocock
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NestedKernel()
Create a new NestedKernel.NestedKernel(SVMKernel k)
Create a new NestedKernel that wraps k.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SVMKernel
getNestedKernel()
Retrieve the currently nested SVMKernel.void
setNestedKernel(SVMKernel k)
Set the SVMKernel to nest to k.
-
-
-
Constructor Detail
-
NestedKernel
public NestedKernel()
Create a new NestedKernel.
-
NestedKernel
public NestedKernel(SVMKernel k)
Create a new NestedKernel that wraps k.- Parameters:
k
- the SVMKernel to wrap
-
-