public class SOMNetwork extends Subnetwork implements Trainable
Constructor and Description |
---|
SOMNetwork(Network net,
int numSOMNeurons,
int numInputNeurons,
java.awt.geom.Point2D initialPosition)
Construct an SOM Network.
|
Modifier and Type | Method and Description |
---|---|
NeuronGroup |
getInputLayer() |
java.util.List<Neuron> |
getInputNeurons()
Returns the list of input neurons.
|
Group |
getNetwork()
Returns a reference to the subnetwork or synapse group being trained.
|
java.util.List<Neuron> |
getOutputNeurons()
Returns the list of output neurons.
|
SOMGroup |
getSom() |
TrainingSet |
getTrainingSet()
Returns the the training set, which contains input and target data.
|
void |
initNetwork()
Initialize the network.
|
void |
layoutNetwork()
Set the layout of the network.
|
addAndLabelSynapseGroup, addNeuronGroup, 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, getUpdateMethodDesecription, isEmpty, recursivelySetIds, removeNeuronGroup, removeSynapseGroup, setDisplayNeuronGroups, setEnabled, size, toString, update
getId, getLabel, getParentGroup, getParentNetwork, getStateInfo, hasParentGroup, isMarkedForDeletion, isTopLevelGroup, setId, setLabel, setMarkedForDeletion, setParentGroup, setStateInfo
public SOMNetwork(Network net, int numSOMNeurons, int numInputNeurons, java.awt.geom.Point2D initialPosition)
net
- parent network. Set to null when this is used simply as a
holder for param values.numSOMNeurons
- number of neurons in the SOM layernumInputNeurons
- number of neurons in the input layerinitialPosition
- bottom corner where network will be placed.public void layoutNetwork()
public java.util.List<Neuron> getInputNeurons()
Trainable
getInputNeurons
in interface Trainable
public java.util.List<Neuron> getOutputNeurons()
Trainable
getOutputNeurons
in interface Trainable
public TrainingSet getTrainingSet()
Trainable
getTrainingSet
in interface Trainable
public void initNetwork()
Trainable
initNetwork
in interface Trainable
public SOMGroup getSom()
public NeuronGroup getInputLayer()
public Group getNetwork()
Trainable
getNetwork
in interface Trainable