Package com.imsl.datamining.neural
Class Layer
java.lang.Object
com.imsl.datamining.neural.Layer
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HiddenLayer,InputLayer,OutputLayer
The base class for
Layers in a neural network.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Layer
Constructs aLayer.- Parameters:
network- TheFeedForwardNetworkto which thisLayeris to be associated.
-
-
Method Details
-
getIndex
public int getIndex()Returns the index of thisLayer.- Returns:
- An
intwhich contains the value of property index.
-
addNode
Associates aPerceptronwith thisLayer.- Parameters:
node- ANodeto associate with thisLayer.
-
getNodes
Return a list of thePerceptrons in thisLayer.- Returns:
- An array containing the
Nodes associated with thisLayer.
-