|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.mySVM.Kernel.Kernel
edu.udo.cs.mySVM.Kernel.KernelMultiquadric
public class KernelMultiquadric
Gaussian Combination Kernel
| Field Summary | |
|---|---|
private double |
shift
|
private double |
sigma
|
| Fields inherited from class edu.udo.cs.mySVM.Kernel.Kernel |
|---|
cache_MB, dim, examples_total, kernel_cache, kernel_cache_size, the_examples |
| Constructor Summary | |
|---|---|
KernelMultiquadric()
Class constructor. |
|
| Method Summary | |
|---|---|
double |
calculate_K(int[] x_index,
double[] x_att,
int[] y_index,
double[] y_att)
Calculates kernel value of vectors x and y. |
void |
readKernelParameters(java.io.ObjectInputStream in)
Reads the value for gamma from the given stream. |
void |
setParameters(double sigma,
double shift)
|
java.lang.String |
toString()
Output as String |
void |
writeKernelParameters(java.io.ObjectOutputStream out)
Writes the value for gamma into the given stream. |
| Methods inherited from class edu.udo.cs.mySVM.Kernel.Kernel |
|---|
calculate_K_row, calculate_K, calculate_K, get_row, getCacheSize, init_kernel_cache, init, innerproduct, norm2, set_examples_size, swap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private double sigma
private double shift
| Constructor Detail |
|---|
public KernelMultiquadric()
| Method Detail |
|---|
public java.lang.String toString()
toString in class Kernel
public void setParameters(double sigma,
double shift)
public double calculate_K(int[] x_index,
double[] x_att,
int[] y_index,
double[] y_att)
calculate_K in class Kernel
public void readKernelParameters(java.io.ObjectInputStream in)
throws java.io.IOException
readKernelParameters in class Kerneljava.io.IOException
public void writeKernelParameters(java.io.ObjectOutputStream out)
throws java.io.IOException
writeKernelParameters in class Kerneljava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||