edu.udo.cs.myRVM.Kernel
Class KernelEpanechnikov
java.lang.Object
edu.udo.cs.myRVM.Kernel.Kernel
edu.udo.cs.myRVM.Kernel.KernelEpanechnikov
public class KernelEpanechnikov
- extends Kernel
Returns the value of the Epanechnikov kernel of both examples.
- Version:
- $Id: KernelEpanechnikov.java,v 1.2 2006/08/28 12:32:58 ingomierswa Exp $
- Author:
- Ingo Mierswa
Field Summary |
private double |
degree
The parameter degree of the Epanechnikov kernel. |
private double |
sigma
The parameter sigma of the Epanechnikov kernel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sigma
private double sigma
- The parameter sigma of the Epanechnikov kernel.
degree
private double degree
- The parameter degree of the Epanechnikov kernel.
KernelEpanechnikov
public KernelEpanechnikov(double sigma,
double degree)
- Constructor(s)
KernelEpanechnikov
public KernelEpanechnikov()
eval
public double eval(double[] x,
double[] y)
- Description copied from class:
Kernel
- Evaluate kernel
- Specified by:
eval
in class Kernel
writeKernelData
public void writeKernelData(java.io.ObjectOutputStream out)
throws java.io.IOException
- Specified by:
writeKernelData
in class Kernel
- Throws:
java.io.IOException
readKernelData
public void readKernelData(java.io.ObjectInputStream in)
throws java.io.IOException
- Specified by:
readKernelData
in class Kernel
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2001-2006