Package org.biojava.stats.svm
Class SigmoidKernel
java.lang.Object
org.biojava.stats.svm.SigmoidKernel
- All Implemented Interfaces:
SVMKernel
This kernel implements a three layer neural net. This is calculated as:
tanh(a*k(x,y)+c)
- Author:
- Matthew Pocock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturn the dot product of two vectors in an arbitrary feature space.doubledoublevoidsetConstant(double c) voidsetMultiplier(double m) voidsetWrappedKernel(SVMKernel kernel) doubletanh(double a) toString()
-
Constructor Details
-
SigmoidKernel
public SigmoidKernel()
-
-
Method Details
-
evaluate
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
-
setConstant
-
getMultiplier
-
setMultiplier
-
getWrappedKernel
-
setWrappedKernel
-
toString
-
tanh
-