org.encog.neural.pattern
public class SOMPattern extends Object implements NeuralNetworkPattern
| Constructor and Description |
|---|
SOMPattern() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - The number of hidden neurons.public void clear()
clear in interface NeuralNetworkPatternpublic MLMethod generate()
generate in interface NeuralNetworkPatternpublic void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - The activation function to use.public void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of neurons.public void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The number of neurons.Copyright © 2014. All Rights Reserved.