T - public class ThreadedKernel<T> extends Kernel<T>
| Constructor and Description |
|---|
ThreadedKernel(Kernel<T> kernel)
MultiThread the given kernel
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
getKernelMatrix(java.util.List<TrainingSample<T>> l)
return the Gram Matrix of this kernel computed on given samples
|
double |
valueOf(T t1)
kernel similarity to zero
|
double |
valueOf(T t1,
T t2)
compute the kernel similarity between two element of input space
|
getNormalizedKernelMatrix, normalizedValueOf, setName, toStringpublic double valueOf(T t1, T t2)
Kernelpublic double[][] getKernelMatrix(java.util.List<TrainingSample<T>> l)
KernelgetKernelMatrix in class Kernel<T>l - list of samples on which to compute the Gram matrix