|
Neuroph | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neuroph.core.Layer
org.neuroph.nnet.comp.CompetitiveLayer
public class CompetitiveLayer
Represents layer of competitive neurons, and provides methods for competition. TODO: competitive learning 3. training dw=n(i-w)
| Field Summary |
|---|
| Fields inherited from class org.neuroph.core.Layer |
|---|
neurons |
| Constructor Summary | |
|---|---|
CompetitiveLayer(int neuronNum,
NeuronProperties neuronProperties)
Create an instance of CompetitiveLayer with the specified number of neurons with neuron properties |
|
| Method Summary | |
|---|---|
void |
calculate()
Performs calculaton for all neurons in this layer |
int |
getMaxIterations()
Returns the maxIterations setting for this layer |
CompetitiveNeuron |
getWinner()
Returns the winning neuron for this layer |
void |
setMaxIterations(int maxIterations)
Sets max iterations for neurons to compete in this layer |
| Methods inherited from class org.neuroph.core.Layer |
|---|
addNeuron, addNeuron, getNeuronAt, getNeurons, getNeuronsCount, getNeuronsIterator, getParentNetwork, indexOf, randomizeWeights, removeNeuron, removeNeuronAt, reset, setNeuron, setParentNetwork |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompetitiveLayer(int neuronNum,
NeuronProperties neuronProperties)
neuronNum - neuron number in this layerneuronProperties - properties for the nurons in this layer| Method Detail |
|---|
public void calculate()
calculate in class Layerpublic CompetitiveNeuron getWinner()
public int getMaxIterations()
public void setMaxIterations(int maxIterations)
maxIterations - max iterations for neurons to compete in this layer
|
Neuroph | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||