|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lip6.kernel.Kernel<double[]>
fr.lip6.kernel.typed.DoubleGaussL2
public class DoubleGaussL2
Gaussian Kernel on double[] that uses a L2 distance.
| Field Summary |
|---|
| Fields inherited from class fr.lip6.kernel.Kernel |
|---|
name |
| Constructor Summary | |
|---|---|
DoubleGaussL2()
|
|
| Method Summary | |
|---|---|
double |
getGamma()
|
void |
setGamma(double gamma)
|
double |
valueOf(double[] t1)
kernel similarity to zero |
double |
valueOf(double[] t1,
double[] t2)
compute the kernel similarity between two element of input space |
| Methods inherited from class fr.lip6.kernel.Kernel |
|---|
getKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleGaussL2()
| Method Detail |
|---|
public double valueOf(double[] t1,
double[] t2)
Kernel
valueOf in class Kernel<double[]>t1 - first elementt2 - second element
public double valueOf(double[] t1)
Kernel
valueOf in class Kernel<double[]>t1 - the element to compute the similarity to zeropublic double getGamma()
public void setGamma(double gamma)
gamma - inverse of std dev parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||