|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.myRVM.Kernel.KernelBasisFunction
public class KernelBasisFunction
A basis function for kernels.
Field Summary | |
---|---|
protected int |
dim
Dimension of the basis vector (= dimension of input vectors) |
protected Kernel |
kernel
The kernel to be used as a basis |
protected double[] |
y
Vector |
Constructor Summary | |
---|---|
private |
KernelBasisFunction()
Constructor(s) |
|
KernelBasisFunction(Kernel kernel)
|
|
KernelBasisFunction(Kernel kernel,
double[] y_vector)
|
Method Summary | |
---|---|
double |
eval(double[] x)
Evaluate KernelBasisFunction |
double[] |
getBasisVector()
Get basis vector |
static KernelBasisFunction |
readKernel(java.io.ObjectInputStream in)
Read KernelBasisFunction-data from stream |
void |
writeKernel(java.io.ObjectOutputStream out)
Write KernelBasisFunction-data to stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int dim
protected double[] y
protected Kernel kernel
Constructor Detail |
---|
private KernelBasisFunction()
public KernelBasisFunction(Kernel kernel, double[] y_vector)
public KernelBasisFunction(Kernel kernel)
Method Detail |
---|
public double eval(double[] x)
public double[] getBasisVector()
public void writeKernel(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
public static KernelBasisFunction readKernel(java.io.ObjectInputStream in) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |