|
|||||||||
| 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
edu.udo.cs.myRVM.Kernel.KernelPoly
public class KernelPoly
Laplace kernel: K(x, y) = (lengthScale^{-2} * (x * y) + bias)^order
| Field Summary | |
|---|---|
protected double |
bias
Bias |
protected double |
degree
Polynomial order |
| Fields inherited from class edu.udo.cs.myRVM.Kernel.KernelRadial |
|---|
lengthScale |
| Constructor Summary | |
|---|---|
KernelPoly()
Constructor(s) |
|
KernelPoly(double lengthScale,
double bias,
double degree)
|
|
| 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 degree
protected double bias
| Constructor Detail |
|---|
public KernelPoly()
public KernelPoly(double lengthScale,
double bias,
double degree)
| Method Detail |
|---|
public double eval(double[] x,
double[] y)
eval in class KernelRadialpublic java.lang.String toString()
toString in class KernelRadial
public void writeKernelData(java.io.ObjectOutputStream out)
throws java.io.IOException
writeKernelData in class KernelRadialjava.io.IOException
public void readKernelData(java.io.ObjectInputStream in)
throws java.io.IOException
readKernelData in class KernelRadialjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||