public class SparseGaussianKernel extends java.lang.Object implements MercerKernel<SparseArray>
The Gaussian kernel is a good choice for a great deal of applications, although sometimes it is remarked as being over used.
| Constructor and Description |
|---|
SparseGaussianKernel(double sigma)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
k(SparseArray x,
SparseArray y)
Kernel function.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, applyAsDoublepublic SparseGaussianKernel(double sigma)
sigma - the smooth/width parameter of Gaussian kernel.public java.lang.String toString()
toString in class java.lang.Objectpublic double k(SparseArray x, SparseArray y)
MercerKernelk in interface MercerKernel<SparseArray>