|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.pattern.ADALINEPattern
public class ADALINEPattern
Construct an ADALINE neural network.
Constructor Summary | |
---|---|
ADALINEPattern()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ADALINEPattern()
Method Detail |
---|
public void addHiddenLayer(int count)
addHiddenLayer
in interface NeuralNetworkPattern
count
- The neuron count.public void clear()
clear
in interface NeuralNetworkPattern
public MLMethod generate()
generate
in interface NeuralNetworkPattern
public void setActivationFunction(ActivationFunction activation)
setActivationFunction
in interface NeuralNetworkPattern
activation
- Not used.public void setInputNeurons(int count)
setInputNeurons
in interface NeuralNetworkPattern
count
- The number of neurons in the input layer.public void setOutputNeurons(int count)
setOutputNeurons
in interface NeuralNetworkPattern
count
- The number of neurons in the output layer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |