|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.pattern.NEATPattern
public class NEATPattern
| Constructor Summary | |
|---|---|
NEATPattern()
|
|
| Method Summary | |
|---|---|
void |
addHiddenLayer(int count)
Add the hidden layer, this should be called once, as a RBF has a single hidden layer. |
void |
clear()
Clear out any hidden neurons. |
BasicNetwork |
generate()
Generate the RBF network. |
List<NEATNeuron> |
getNeurons()
|
boolean |
isSnapshot()
|
void |
setActivationFunction(ActivationFunction activation)
Set the activation function to use on the output layer. |
void |
setInputNeurons(int count)
Set the number of input neurons. |
void |
setNEATActivationFunction(ActivationFunction activation)
Set the activation function to use on the NEAT neurons. |
void |
setOutputNeurons(int count)
Set the number of output neurons. |
void |
setSnapshot(boolean snapshot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NEATPattern()
| Method Detail |
|---|
public void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - The number of neurons in the hidden layer.public void clear()
clear in interface NeuralNetworkPatternpublic BasicNetwork generate()
generate in interface NeuralNetworkPatternpublic void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - The new activation function.public void setNEATActivationFunction(ActivationFunction activation)
activation - The new activation function.public void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of input neurons.public void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The number of output neurons.public boolean isSnapshot()
public void setSnapshot(boolean snapshot)
public List<NEATNeuron> getNeurons()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||