|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.huguesjohnson.jail.neuralNetwork.Neuron
|
+--com.huguesjohnson.jail.neuralNetwork.BiasNeuron
BiasNeuron
| Constructor Summary | |
BiasNeuron(double bias)
constructor |
|
| Method Summary | |
double |
activation()
activation function |
void |
adjustWeights()
not implemented for BiasNeuron |
| Methods inherited from class com.huguesjohnson.jail.neuralNetwork.Neuron |
getDesiredOutput, getDoneTraining, getErrorThreshold, getInput, getInput, getInputCount, getInputs, getOutput, getPunishRate, getRewardRate, getWeight, getWeightCount, getWeights, getZ, punishWeight, randomizeWeights, rewardWeight, run, run, run, setDesiredOutput, setDoneTraining, setErrorThreshold, setInput, setPunishRate, setRewardRate, setWeight, setWeights, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BiasNeuron(double bias)
bias - the value that the neuron will always output| Method Detail |
public double activation()
activation in class Neuronpublic void adjustWeights()
adjustWeights in class Neuron
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||