public class SigmoidUnit extends java.lang.Object implements NeuralMethod, RevisionHandler
| Constructor and Description | 
|---|
| SigmoidUnit() | 
| Modifier and Type | Method and Description | 
|---|---|
| double | errorValue(NeuralNode node)This function calculates what the error value should be. | 
| java.lang.String | getRevision()Returns the revision string. | 
| double | outputValue(NeuralNode node)This function calculates what the output value should be. | 
| void | updateWeights(NeuralNode node,
             double learn,
             double momentum)This function will calculate what the change in weights should be
 and also update them. | 
public double outputValue(NeuralNode node)
outputValue in interface NeuralMethodnode - The node to calculate the value for.public double errorValue(NeuralNode node)
errorValue in interface NeuralMethodnode - The node to calculate the error for.public void updateWeights(NeuralNode node, double learn, double momentum)
updateWeights in interface NeuralMethodnode - The node to update the weights for.learn - The learning rate to use.momentum - The momentum to use.public java.lang.String getRevision()
getRevision in interface RevisionHandler