|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.interfaces.Neuron
org.simnet.neurons.LMSNeuron
public class LMSNeuron
LMS Neuron. A way of implementing the delta rule (AKA Widrow Hoff) rule in a single neuron. It is assumed that one of the synapses attaching to this neuron is a signal synapse, which carries the target value used in learning.
| Field Summary |
|---|
| Fields inherited from class org.simnet.interfaces.Neuron |
|---|
activation, fanIn, fanOut, lowerBound, upperBound |
| Constructor Summary | |
|---|---|
LMSNeuron()
Default constructor needed for external calls which create neurons then set their parameters. |
|
LMSNeuron(Neuron n)
This constructor is used when creating a neuron of one type from another neuron of another type Only values common to different types of neuron are copied. |
|
| Method Summary | |
|---|---|
Neuron |
duplicate()
Returns a duplicate ClampedNeuron (used, e.g., in copy/paste). |
double |
getLearningRate()
|
static String |
getName()
|
int |
getTimeType()
|
double |
getWeightedInputs()
Overrides superclass implementation by ignoring inputs from targetValue synapses. |
void |
setLearningRate(double learningRate)
Sets the learning rate. |
void |
update()
Update neuron. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LMSNeuron()
public LMSNeuron(Neuron n)
n - Neuron to make the type| Method Detail |
|---|
public int getTimeType()
getTimeType in class Neuronpublic Neuron duplicate()
duplicate in class Neuronpublic void update()
update in class Neuronpublic double getWeightedInputs()
getWeightedInputs in class Neuronpublic static String getName()
public double getLearningRate()
public void setLearningRate(double learningRate)
learningRate - Learning rate to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||