Package org.biojava.stats.svm
Class SigmoidKernel
- java.lang.Object
-
- org.biojava.stats.svm.SigmoidKernel
-
-
Constructor Summary
Constructors Constructor Description SigmoidKernel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleevaluate(java.lang.Object a, java.lang.Object b)Return the dot product of two vectors in an arbitrary feature space.doublegetConstant()doublegetMultiplier()SVMKernelgetWrappedKernel()voidsetConstant(double c)voidsetMultiplier(double m)voidsetWrappedKernel(SVMKernel kernel)doubletanh(double a)java.lang.StringtoString()
-
-
-
Method Detail
-
evaluate
public double evaluate(java.lang.Object a, java.lang.Object b)Description copied from interface:SVMKernelReturn the dot product of two vectors in an arbitrary feature space. In this implementation, the `vectors' can actually be arbitrary objects.
-
getConstant
public double getConstant()
-
setConstant
public void setConstant(double c)
-
getMultiplier
public double getMultiplier()
-
setMultiplier
public void setMultiplier(double m)
-
getWrappedKernel
public SVMKernel getWrappedKernel()
-
setWrappedKernel
public void setWrappedKernel(SVMKernel kernel)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
tanh
public double tanh(double a)
-
-