|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNeuron
BiasNeuron
The BiasNeuron class creates Bias Neurons which have a fixed value of -1
Constructor Summary | |
BiasNeuron()
This constructor for the BiasNeuron initialises it's input value to -1 |
Method Summary | |
void |
calculateDelayedOutput()
Calculates the summation of the delayed output values |
void |
calculateOutput()
Calculates the output value |
protected double |
getInputValue()
Gets the input value |
protected double |
getOutputValue()
Gets the output value |
void |
input(double input)
Adds a new input value |
void |
setBias(double input)
Sets the biased input |
protected void |
setInputValue(double inputValue)
Sets the input value |
protected void |
setOutputValue(double outputValue)
Sets the output value |
protected double |
sigmoidActivation(double summation)
The Sigmoid Activation Function |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BiasNeuron()
BiasNeuron
initialises it's input value to -1
Method Detail |
public void calculateOutput()
public void input(double input)
input
- The new input valuepublic void setBias(double input)
input
- The new input valuepublic void calculateDelayedOutput()
protected double sigmoidActivation(double summation)
protected double getInputValue()
protected void setInputValue(double inputValue)
inputValue
- the input valueprotected double getOutputValue()
protected void setOutputValue(double outputValue)
outputValue
- the output value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |