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, toString
public double valueOf(T t1, T t2)
Kernel
public double[][] getKernelMatrix(java.util.List<TrainingSample<T>> l)
Kernel
getKernelMatrix
in class Kernel<T>
l
- list of samples on which to compute the Gram matrix