public class Anova extends java.lang.Object implements IMercerKernel<double[]>
| Constructor and Description |
|---|
Anova(int vectorLength,
int subsequenceLength)
Constructs a new ANOVA Kernel.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Function(double[] x,
double[] y)
The kernel function.
|
public Anova(int vectorLength,
int subsequenceLength)
vectorLength - Length of the input vector.subsequenceLength - Length of the subsequences for the ANOVA decomposition.public double Function(double[] x,
double[] y)
IMercerKernelFunction in interface IMercerKernel<double[]>x - Vector x in input space.y - Vector