|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.pattern.SOMPattern
public class SOMPattern
A self organizing map is a neural network pattern with an input and output layer. There is no hidden layer. The winning neuron, which is that neuron with the higest output is the winner, this winning neuron is often used to classify the input into a group.
Constructor Summary | |
---|---|
SOMPattern()
|
Method Summary | |
---|---|
void |
addHiddenLayer(int count)
Add a hidden layer. |
void |
clear()
Clear out any hidden neurons. |
MLMethod |
generate()
Generate the RSOM network. |
void |
setActivationFunction(ActivationFunction activation)
Set the activation function. |
void |
setInputNeurons(int count)
Set the input neuron count. |
void |
setOutputNeurons(int count)
Set the output neuron count. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOMPattern()
Method Detail |
---|
public void addHiddenLayer(int count)
addHiddenLayer
in interface NeuralNetworkPattern
count
- The number of hidden neurons.public void clear()
clear
in interface NeuralNetworkPattern
public MLMethod generate()
generate
in interface NeuralNetworkPattern
public void setActivationFunction(ActivationFunction activation)
setActivationFunction
in interface NeuralNetworkPattern
activation
- The activation function to use.public void setInputNeurons(int count)
setInputNeurons
in interface NeuralNetworkPattern
count
- The number of neurons.public void setOutputNeurons(int count)
setOutputNeurons
in interface NeuralNetworkPattern
count
- The number of neurons.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |