public class IndexDoubleLinear extends Kernel<double[]>
| Constructor and Description |
|---|
IndexDoubleLinear(int feature)
Constructor specifying the component which is used
|
| Modifier and Type | Method and Description |
|---|---|
void |
setIndex(int i) |
double |
valueOf(double[] t1)
kernel similarity to zero
|
double |
valueOf(double[] t1,
double[] t2)
compute the kernel similarity between two element of input space
|
getKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toStringpublic IndexDoubleLinear(int feature)
feature - the index of the componentpublic double valueOf(double[] t1,
double[] t2)
Kernelpublic double valueOf(double[] t1)
Kernelpublic void setIndex(int i)