|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.layers.BasicLayer
org.encog.neural.networks.layers.SOMLayer
public class SOMLayer
SelfOrganizingMap: The Self Organizing Map, or Kohonen Neural Network, is a special type of neural network that is used to classify input into groups. The SOM makes use of unsupervised training.
| Field Summary | |
|---|---|
static double |
VERYSMALL
Do not allow patterns to go below this very small number. |
| Constructor Summary | |
|---|---|
SOMLayer(int inputCount,
NormalizeInput.NormalizationType normalizationType)
The constructor. |
|
| Method Summary | |
|---|---|
NeuralData |
compute(NeuralData pattern)
Compute the output from this layer. |
Persistor |
createPersistor()
Create a persistor. |
NormalizeInput.NormalizationType |
getNormalizationType()
Get the normalization type. |
void |
setNeuronCount(int count)
Set the neuron count. |
void |
setNext(Layer next)
Set the next layer. |
void |
setNormalizationType(NormalizeInput.NormalizationType normalizationType)
Set the normalization type. |
| Methods inherited from class org.encog.neural.networks.layers.BasicLayer |
|---|
getDescription, getFire, getFire, getMatrix, getMatrixSize, getName, getNeuronCount, getNext, getPrevious, hasMatrix, isHidden, isInput, isOutput, reset, setDescription, setFire, setFire, setMatrix, setName, setPrevious |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.encog.neural.persist.EncogPersistedObject |
|---|
getDescription, getName, setDescription, setName |
| Field Detail |
|---|
public static final double VERYSMALL
| Constructor Detail |
|---|
public SOMLayer(int inputCount,
NormalizeInput.NormalizationType normalizationType)
inputCount - Number of input neuronsnormalizationType - The normalization type to use.| Method Detail |
|---|
public NeuralData compute(NeuralData pattern)
compute in interface Layercompute in class BasicLayerpattern - The pattern to compute for.
public Persistor createPersistor()
createPersistor in interface EncogPersistedObjectcreatePersistor in class BasicLayerpublic NormalizeInput.NormalizationType getNormalizationType()
public void setNeuronCount(int count)
setNeuronCount in class BasicLayercount - The neuron count.public void setNext(Layer next)
setNext in interface LayersetNext in class BasicLayernext - the next layer.public void setNormalizationType(NormalizeInput.NormalizationType normalizationType)
normalizationType - the normalizationType to set
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||