|
||||||||||
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.KohonenNeuron
KohonenNeuron
Constructor Summary | |
KohonenNeuron()
default constructor |
|
KohonenNeuron(double[] input,
double[] weights,
double desiredOutput,
double punishRate,
double rewardRate,
double errorThreshold)
constructor |
|
KohonenNeuron(double punishRate,
double rewardRate,
double errorThreshold)
constructor |
|
KohonenNeuron(double desiredOutput,
double punishRate,
double rewardRate,
double errorThreshold)
constructor |
Method Summary | |
double |
activation()
activation function |
void |
adjustWeights()
adjust weights for the neuron |
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 KohonenNeuron()
public KohonenNeuron(double desiredOutput, double punishRate, double rewardRate, double errorThreshold)
desiredOutput
- the desired output of the neuronpunishRate
- the punish rate of the neuronrewardRate
- the reward rate of the neuronerrorThreshold
- the error threshold of the neuronpublic KohonenNeuron(double[] input, double[] weights, double desiredOutput, double punishRate, double rewardRate, double errorThreshold)
input
- the input to the neuronweights
- the weights on the links to the neurondesiredOutput
- the desired output of the neuronpunishRate
- the punish rate of the neuronrewardRate
- the reward rate of the neuronerrorThreshold
- the error threshold of the neuronpublic KohonenNeuron(double punishRate, double rewardRate, double errorThreshold)
punishRate
- the punish rate of the neuronrewardRate
- the reward rate of the neuronerrorThreshold
- the error threshold of the neuronMethod Detail |
public double activation()
activation
in class Neuron
public void adjustWeights()
adjustWeights
in class Neuron
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |