org.encog.neural.pattern
public class ADALINEPattern extends Object implements NeuralNetworkPattern
| Constructor and Description |
|---|
ADALINEPattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHiddenLayer(int count)
Not used, the ADALINE has no hidden layers, this will throw an error.
|
void |
clear()
Clear out any parameters.
|
MLMethod |
generate()
Generate the network.
|
void |
setActivationFunction(ActivationFunction activation)
Not used, ADALINE does not use custom activation functions.
|
void |
setInputNeurons(int count)
Set the input neurons.
|
void |
setOutputNeurons(int count)
Set the output neurons.
|
public void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - The neuron count.public void clear()
clear in interface NeuralNetworkPatternpublic MLMethod generate()
generate in interface NeuralNetworkPatternpublic void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - Not used.public void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of neurons in the input layer.public void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The number of neurons in the output layer.Copyright © 2014. All Rights Reserved.