org.encog.neural.pattern
public class BAMPattern extends Object implements NeuralNetworkPattern
| Constructor and Description |
|---|
BAMPattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHiddenLayer(int count)
Unused, a BAM has no hidden layers.
|
void |
clear()
Clear any settings on the pattern.
|
MLMethod |
generate()
Generate the specified neural network.
|
void |
setActivationFunction(ActivationFunction activation)
Not used, the BAM uses a bipoloar activation function.
|
void |
setF1Neurons(int count)
Set the F1 neurons.
|
void |
setF2Neurons(int count)
Set the output neurons.
|
void |
setInputNeurons(int count)
Set the number of input neurons.
|
void |
setOutputNeurons(int count)
Set the number of output neurons.
|
public void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - Not used.public void clear()
clear in interface NeuralNetworkPatternpublic MLMethod generate()
NeuralNetworkPatterngenerate in interface NeuralNetworkPatternpublic void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - Not used.public void setF1Neurons(int count)
count - The number of neurons in the first layer.public void setF2Neurons(int count)
count - The number of neurons in the second layer.public void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of input neurons.public void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The output neuron count.Copyright © 2014. All Rights Reserved.