|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.learner.kernel.evosvm.Kernel
edu.udo.cs.yale.operator.learner.kernel.evosvm.DotKernel
public class DotKernel
Returns the simple inner product of both examples.
| Field Summary |
|---|
| Fields inherited from class edu.udo.cs.yale.operator.learner.kernel.evosvm.Kernel |
|---|
KERNEL_DOT, KERNEL_EPANECHNIKOV, KERNEL_GAUSSIAN_COMBINATION, KERNEL_MULTIQUADRIC, KERNEL_POLYNOMIAL, KERNEL_RADIAL, KERNEL_SIGMOID, KERNEL_TYPES |
| Constructor Summary | |
|---|---|
DotKernel()
|
|
| Method Summary | |
|---|---|
double |
calculateDistance(double[] x1,
double[] x2)
Subclasses must implement this method. |
int |
getType()
Must return one out of KERNEL_DOT, KERNEL_RADIAL, KERNEL_POLYNOMIAL, or KERNEL_SIGMOID. |
void |
readKernelParameters(java.io.ObjectInputStream in)
Does nothing. |
void |
writeKernelParameters(java.io.ObjectOutputStream out)
Does nothing. |
| Methods inherited from class edu.udo.cs.yale.operator.learner.kernel.evosvm.Kernel |
|---|
createKernel, createKernel, getDistance, getSum, init, innerProduct, norm2, readKernelData, writeKernelData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DotKernel()
| Method Detail |
|---|
public int getType()
Kernel
getType in class Kernel
public double calculateDistance(double[] x1,
double[] x2)
calculateDistance in class Kernelpublic void readKernelParameters(java.io.ObjectInputStream in)
readKernelParameters in class Kernelpublic void writeKernelParameters(java.io.ObjectOutputStream out)
writeKernelParameters in class Kernel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||