|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.myRVM.Kernel.Kernel
edu.udo.cs.myRVM.Kernel.KernelRadial
public class KernelRadial
Radial basis function (rbf) kernel: K(x, y) = exp(-lengthScale^{-2} * ||x - y||^2)
Field Summary | |
---|---|
protected double |
lengthScale
LengthScale parameter |
Constructor Summary | |
---|---|
KernelRadial()
|
|
KernelRadial(double lengthScale)
Constructor(s) |
Method Summary | |
---|---|
double |
eval(double[] x,
double[] y)
evaluate kernel |
void |
readKernelData(java.io.ObjectInputStream in)
Read kernel from stream |
java.lang.String |
toString()
|
void |
writeKernelData(java.io.ObjectOutputStream out)
Write kernel to stream |
Methods inherited from class edu.udo.cs.myRVM.Kernel.Kernel |
---|
norm2, readKernel, writeKernel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double lengthScale
Constructor Detail |
---|
public KernelRadial(double lengthScale)
public KernelRadial()
Method Detail |
---|
public double eval(double[] x, double[] y)
eval
in class Kernel
public java.lang.String toString()
toString
in class java.lang.Object
public void writeKernelData(java.io.ObjectOutputStream out) throws java.io.IOException
writeKernelData
in class Kernel
java.io.IOException
public void readKernelData(java.io.ObjectInputStream in) throws java.io.IOException
readKernelData
in class Kernel
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |