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 TypeMethodDescriptiondouble
Return the dot product of two vectors in an arbitrary feature space.double
double
void
setConstant
(double c) void
setMultiplier
(double m) void
setWrappedKernel
(SVMKernel kernel) double
tanh
(double a) toString()
-
Constructor Details
-
SigmoidKernel
public SigmoidKernel()
-
-
Method Details
-
evaluate
Description copied from interface:SVMKernel
Return 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
-