|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimbad.piconode.core.node.Node
simbad.piconode.core.node.ConnectedNode
simbad.piconode.core.node.ModularNode
simbad.piconode.core.node.Module
simbad.piconode.core.node.Network
simbad.piconode.core.node.NeuralNetwork
simbad.piconode.core.node.FeedForwardNeuralNetwork
simbad.piconode.core.node.FeedForwardNeuralNetworkForBackPropLearning
public class FeedForwardNeuralNetworkForBackPropLearning
This class implement a feed-forward neural network with learning capabilitie through back-propagation. Such a network should be used exclusively with neurons that handles this very ability (i.e. NeuronForBackPropLearning objects).
Field Summary | |
---|---|
protected ActivationFunctionWithDerivative |
_activationFunctionForArcsFromBiasNeuron
|
protected NeuronForBackPropLearning |
_biasNeuron
|
protected double |
_etaLearningRate
|
Fields inherited from class simbad.piconode.core.node.NeuralNetwork |
---|
_allNeuronsUnorderedList, _biasArcList, _containsBiasNeuron, _init, _inputNeuronsList, _outputNeuronsList |
Fields inherited from class simbad.piconode.core.node.Network |
---|
_arcList, _nodeList |
Fields inherited from class simbad.piconode.core.node.ConnectedNode |
---|
_incomingArcsList, _outgoingArcsList |
Fields inherited from class simbad.piconode.core.node.Node |
---|
_name, nGene |
Constructor Summary | |
---|---|
FeedForwardNeuralNetworkForBackPropLearning()
create a new network with no bias neuron. |
|
FeedForwardNeuralNetworkForBackPropLearning(ActivationFunction __activationFunctionForArcsFromBiasNeuron)
Create a new network that contains a bias neuron. |
Method Summary | |
---|---|
protected void |
addBiasNeuron()
Add a bias neuron and connect it to all node in the network |
double |
backprop_getEtaLearningRate()
|
void |
backprop_setEtaLearningRate(double __etaLearningRate)
|
double |
estimateSquaredError(java.util.ArrayList __targetValuesRawList)
Compute the squared error of the networks. |
protected void |
launchBackPropagationLearningAlgorithm(java.util.ArrayList __targetValuesList)
|
private java.util.ArrayList |
makeCleanTargetValuesList(java.util.ArrayList __targetValuesRawList)
This method is used to build a list suitable for internal use. |
void |
performBackPropagationLearning(java.util.ArrayList __targetValuesRawList)
Perform back-propagation learning algorithm using the target output values (correct values only for learnable outputs). |
void |
registerOutputNeuron(NeuronForBackPropLearning __neuron)
specify an output neuron. |
void |
registerOutputNeuron(NeuronForBackPropLearning __neuron,
boolean __learnableFlag)
specify an output neuron and if the neuron should be considered during learning. |
java.lang.String |
toXml()
Thomas Darde TER NNEDITOR Provides an xml representation of this element Xml DTD is defined in visual piconode |
Methods inherited from class simbad.piconode.core.node.FeedForwardNeuralNetwork |
---|
initNetwork, step, step |
Methods inherited from class simbad.piconode.core.node.Network |
---|
getArcAt, getArcListSize, updateGenotype |
Methods inherited from class simbad.piconode.core.node.Module |
---|
getInputRegister, getInputRegisterSize, getOldOutputRegister, getOldOutputRegisterSize, getOutputRegister, getOutputRegisterSize, setInputRegister, setInputRegisterSize, setOldOutputRegister, setOldOutputRegisterSize, setOutputRegister, setOutputRegisterSize |
Methods inherited from class simbad.piconode.core.node.ModularNode |
---|
isUpdated, setUpdated |
Methods inherited from class simbad.piconode.core.node.ConnectedNode |
---|
addIncomingArc, addOutgoingArc, getIncomingArcAt, getIncomingArcsList, getIncomingArcsListSize, getOutgoingArcAt, getOutgoingArcsList, getOutgoingArcsListSize |
Methods inherited from class simbad.piconode.core.node.Node |
---|
getName, getNGene, setName, setNGene |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ActivationFunctionWithDerivative _activationFunctionForArcsFromBiasNeuron
protected NeuronForBackPropLearning _biasNeuron
protected double _etaLearningRate
Constructor Detail |
---|
FeedForwardNeuralNetworkForBackPropLearning()
public FeedForwardNeuralNetworkForBackPropLearning(ActivationFunction __activationFunctionForArcsFromBiasNeuron)
__activationFunctionFromBiasNeuron
- Method Detail |
---|
protected void launchBackPropagationLearningAlgorithm(java.util.ArrayList __targetValuesList)
private java.util.ArrayList makeCleanTargetValuesList(java.util.ArrayList __targetValuesRawList)
__targetValuesRawList
-
public double estimateSquaredError(java.util.ArrayList __targetValuesRawList)
__targetValuesRawList
-
public void performBackPropagationLearning(java.util.ArrayList __targetValuesRawList)
__targetValuesRawList
- public double backprop_getEtaLearningRate()
public void backprop_setEtaLearningRate(double __etaLearningRate)
public void registerOutputNeuron(NeuronForBackPropLearning __neuron)
__neuron
- public void registerOutputNeuron(NeuronForBackPropLearning __neuron, boolean __learnableFlag)
__neuron
- __learnableFlag
- protected void addBiasNeuron()
NeuralNetwork
addBiasNeuron
in class NeuralNetwork
public java.lang.String toXml()
toXml
in interface XmlRepresentation
toXml
in class FeedForwardNeuralNetwork
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |