edu.berkeley.compbio.jlibsvm.kernel
Class SigmoidKernel

java.lang.Object
  extended by edu.berkeley.compbio.jlibsvm.kernel.GammaKernel<SparseVector>
      extended by edu.berkeley.compbio.jlibsvm.kernel.SigmoidKernel
All Implemented Interfaces:
KernelFunction<SparseVector>

public class SigmoidKernel
extends GammaKernel<SparseVector>

Version:
$Id$
Author:
David Soergel

Field Summary
 float coef0
           
 
Fields inherited from class edu.berkeley.compbio.jlibsvm.kernel.GammaKernel
gamma
 
Constructor Summary
SigmoidKernel(float gamma, float coef0)
           
SigmoidKernel(java.util.Properties props)
           
 
Method Summary
 double evaluate(SparseVector x, SparseVector y)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.berkeley.compbio.jlibsvm.kernel.GammaKernel
getGamma, setGamma
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

coef0

public float coef0
Constructor Detail

SigmoidKernel

public SigmoidKernel(java.util.Properties props)

SigmoidKernel

public SigmoidKernel(float gamma,
                     float coef0)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

evaluate

public double evaluate(SparseVector x,
                       SparseVector y)


Copyright © 2008-2010 Brenner Lab, UC Berkeley. All Rights Reserved.