edu.udo.cs.myRVM.Kernel
Class KernelSigmoid

java.lang.Object
  extended by edu.udo.cs.myRVM.Kernel.Kernel
      extended by edu.udo.cs.myRVM.Kernel.KernelSigmoid

public class KernelSigmoid
extends Kernel

Returns the value of the Sigmoid kernel of both examples.

Version:
$Id: KernelSigmoid.java,v 1.1 2006/08/26 14:49:38 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  double a
          The parameter a of the sigmoid kernel.
private  double b
          The parameter b of the sigmoid kernel.
 
Constructor Summary
KernelSigmoid()
           
KernelSigmoid(double a, double b)
          Constructor(s)
 
Method Summary
 double eval(double[] x, double[] y)
          Evaluate kernel
 void readKernelData(java.io.ObjectInputStream in)
           
 java.lang.String toString()
           
 void writeKernelData(java.io.ObjectOutputStream out)
           
 
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

a

private double a
The parameter a of the sigmoid kernel.


b

private double b
The parameter b of the sigmoid kernel.

Constructor Detail

KernelSigmoid

public KernelSigmoid(double a,
                     double b)
Constructor(s)


KernelSigmoid

public KernelSigmoid()
Method Detail

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