|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectneural.net.ActivationFunctionSigmoid
public class ActivationFunctionSigmoid
Implementation of the Sigmoid Activation Function
Constructor Summary | |
---|---|
ActivationFunctionSigmoid()
|
Method Summary | |
---|---|
double |
activate(double input)
The sigmoid activation function |
double |
derivative(double input)
The derivative of the sigmoid function |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivationFunctionSigmoid()
Method Detail |
---|
public double activate(double input)
activate
in interface ActivationFunction
input
- - the input to process, should be the sum of weights and input to a neuron
public double derivative(double input)
derivative
in interface ActivationFunction
input
- - the input to process through the derivative function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |