public final class BPTTNetwork extends FeedForward implements Trainable
Constructor and Description |
---|
BPTTNetwork(Network network,
int numInputNodes,
int numHiddenNodes,
int numOutputNodes,
java.awt.geom.Point2D initialPosition)
Constructor specifying root network, and number of nodes in each layer.
|
Modifier and Type | Method and Description |
---|---|
NeuronGroup |
getHiddenLayer()
Returns the hidden layer.
|
Group |
getNetwork()
Returns a reference to the subnetwork or synapse group being trained.
|
int |
getStepsPerSequences() |
TrainingSet |
getTrainingSet()
Returns the the training set, which contains input and target data.
|
java.lang.String |
getUpdateMethodDesecription()
Returns a description of this group's update method, which is displayed
in the update manager panel.
|
void |
initNetwork()
Initialize the network.
|
void |
setStepsPerSequences(int stepsPerSequences) |
void |
update()
Update this group.
|
addNeuronGroup, getBetweenLayerInterval, getInputLayer, getInputNeurons, getOutputLayer, getOutputNeurons, setBetweenLayerInterval
addAndLabelSynapseGroup, addRowToTrainingSet, addSynapseGroup, clearActivations, connectNeuronGroups, connectNeuronGroups, connectNeuronGroups, delete, displayNeuronGroups, getEnabled, getFlatNeuronList, getFlatSynapseList, getIndexOfNeuronGroup, getLongDescription, getModifiableNeuronList, getNeuronGroup, getNeuronGroup, getNeuronGroupByLabel, getNeuronGroupCount, getNeuronGroupList, getNeuronGroupsAsList, getSynapseGroup, getSynapseGroup, getSynapseGroupByLabel, getSynapseGroupCount, getSynapseGroupList, isEmpty, recursivelySetIds, removeNeuronGroup, removeSynapseGroup, setDisplayNeuronGroups, setEnabled, size, toString
getId, getLabel, getParentGroup, getParentNetwork, getStateInfo, hasParentGroup, isMarkedForDeletion, isTopLevelGroup, setId, setLabel, setMarkedForDeletion, setParentGroup, setStateInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputNeurons, getOutputNeurons
public BPTTNetwork(Network network, int numInputNodes, int numHiddenNodes, int numOutputNodes, java.awt.geom.Point2D initialPosition)
network
- underlying networknumInputNodes
- number of nodes in the input layernumHiddenNodes
- number of nodes in the hidden and context layersnumOutputNodes
- number of output nodesinitialPosition
- where to position the network (upper left)public void initNetwork()
Trainable
initNetwork
in interface Trainable
public void update()
Group
update
in class Subnetwork
public NeuronGroup getHiddenLayer()
public TrainingSet getTrainingSet()
Trainable
getTrainingSet
in interface Trainable
public int getStepsPerSequences()
public void setStepsPerSequences(int stepsPerSequences)
stepsPerSequences
- the stepsPerSequences to setpublic java.lang.String getUpdateMethodDesecription()
Group
getUpdateMethodDesecription
in class FeedForward
public Group getNetwork()
Trainable
getNetwork
in interface Trainable