cc.glsn.v15.neuralnet
Class RecurrentBrain
java.lang.Object
cc.glsn.v15.neuralnet.Brain
cc.glsn.v15.neuralnet.RecurrentBrain
- All Implemented Interfaces:
- Serializable
public class RecurrentBrain
- extends Brain
Extends Brain to become an feedback neural network
rather than a simple feed forward.
The specified numbers of feeback links are added as outputs
and those outputs are feed back in as inputs.
- See Also:
- Serialized Form
|
Method Summary |
void |
resetFeeds(double val)
|
void |
updateFeeds()
Copies all output feedback values to the inputs
Should be run before a new set of inputs are set. |
| Methods inherited from class cc.glsn.v15.neuralnet.Brain |
addInput, addInputGroup, addOutput, backPropogate, backPropogate, getAllOutputs, getInputNode, getOutput, incSerial, removeOutput, setAllInput, setHiddenLayers, setInput, toString |
RecurrentBrain
public RecurrentBrain(NetFunction functg,
LinkedList<Integer> layerSizes,
int feedbackLinks)
RecurrentBrain
public RecurrentBrain(NetFunction functg,
LinkedList<Integer> layerSizes,
String inputMappingStyle,
int feedbackLinks)
resetFeeds
public void resetFeeds(double val)
updateFeeds
public void updateFeeds()
- Copies all output feedback values to the inputs
Should be run before a new set of inputs are set.
Order should be:
updateFeeds()
setInput()s
getOutput()s