|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gregdennis.drej.GaussianKernel
public class GaussianKernel
A Gaussian kernel
of the following form:
K(x1, x2) = exp(‒γ² · ∥x1 - x2∥²)
Constructor Summary | |
---|---|
GaussianKernel(double gamma)
Construct a Gaussian kernel with the specified value for γ. |
Method Summary | |
---|---|
double |
eval(GVector x1,
GVector x2)
Evaluates the kernel function at the specified points. |
double |
gamma()
Returns the value of γ. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussianKernel(double gamma)
Method Detail |
---|
public double gamma()
public double eval(GVector x1, GVector x2)
Kernel
eval
in interface Kernel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |