net.sourceforge.cilib.neuralnetwork.generic.topologybuilders
Class InputOutputGenericTopologyBuilder
java.lang.Object
net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.GenericTopologyBuilder
net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.FFNNgenericTopologyBuilder
net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.InputOutputGenericTopologyBuilder
- All Implemented Interfaces:
- Initializable
public class InputOutputGenericTopologyBuilder
- extends FFNNgenericTopologyBuilder
- Author:
- leo
This class constructs a Neural Network topology that consists of only an Input and an Ouput layer, with weight values between them.
This Neural Network does not have a hidden layer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputOutputGenericTopologyBuilder
public InputOutputGenericTopologyBuilder()
createLayerList
public ArrayList<ArrayList<NeuronConfig>> createLayerList()
- Assemble the Neural Network
- Overrides:
createLayerList
in class FFNNgenericTopologyBuilder
- Returns:
- the Layer List of NeuronConfig that represents the Neural Network
initialize
public void initialize()
-
- Specified by:
initialize
in interface Initializable
- Overrides:
initialize
in class FFNNgenericTopologyBuilder
addLayer
public void addLayer(int nrNeurons)
- Used to add the array of layer sizes in XML
- Overrides:
addLayer
in class FFNNgenericTopologyBuilder
Copyright © 2009 CIRG. All Rights Reserved.