Package org.biojava.stats.svm
Class NestedKernel
java.lang.Object
org.biojava.stats.svm.NestedKernel
- All Implemented Interfaces:
Serializable
,SVMKernel
- Direct Known Subclasses:
CachingKernel
,DiagonalAddKernel
,DiagonalCachingKernel
,ListSumKernel
,NormalizingKernel
,PolynomialKernel
,RadialBaseKernel
Encapsulates a kernel that wraps another kernel up.
- Author:
- Matthew Pocock
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new NestedKernel.Create a new NestedKernel that wraps k. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the currently nested SVMKernel.void
Set the SVMKernel to nest to k.
-
Constructor Details
-
NestedKernel
public NestedKernel()Create a new NestedKernel. -
NestedKernel
Create a new NestedKernel that wraps k.- Parameters:
k
- the SVMKernel to wrap
-
-
Method Details
-
setNestedKernel
Set the SVMKernel to nest to k.- Parameters:
k
- the SVMKernel to nest.
-
getNestedKernel
Retrieve the currently nested SVMKernel.- Returns:
- the nested SVMKernel
-