public class SparseGaussianKernel extends 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.
|
String |
toString() |
public SparseGaussianKernel(double sigma)
sigma - the smooth/width parameter of Gaussian kernel.public double k(SparseArray x, SparseArray y)
MercerKernelk in interface MercerKernel<SparseArray>Copyright © 2015. All rights reserved.