|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.datamining.neural.Layer com.imsl.datamining.neural.OutputLayer
public class OutputLayer
Output layer in a neural network. An empty OutputLayer
is
automatically created by FeedForwardNetwork
.
Network
,
Serialized FormField Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
Perceptron |
createPerceptron()
Creates a Perceptron in this Layer of the
neural network. |
Perceptron |
createPerceptron(Activation activation,
double bias)
Creates a Perceptron in this Layer with a
specified Activation and bias . |
Perceptron[] |
createPerceptrons(int n)
Creates a number of Perceptron s in this Layer
of the neural network. |
Perceptron[] |
createPerceptrons(int n,
Activation activation,
double bias)
Creates a number of Perceptron s in this Layer
with specified activation and bias . |
Node[] |
getNodes()
Return the Perceptron s in the OutputLayer . |
Methods inherited from class com.imsl.datamining.neural.Layer |
---|
addNode, getIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Method Detail |
---|
public Perceptron createPerceptron()
Perceptron
in this Layer
of the
neural network. By default, the created Perceptron
uses the
linear activation function and has an initial bias value of zero.
public Perceptron createPerceptron(Activation activation, double bias)
Perceptron
in this Layer
with a
specified Activation
and bias
.
activation
- The Activation
object which specifies the
action function to be used.bias
- A double
which specifies the initial value
for the bias for this Perceptron
.public Perceptron[] createPerceptrons(int n)
Perceptron
s in this Layer
of the neural network. By default, they will use linear activation and
a zero initial bias.
n
- An int
which specifies the number of
Perceptron
s to be created in this layer
.
Perceptron
s.public Perceptron[] createPerceptrons(int n, Activation activation, double bias)
Perceptron
s in this Layer
with specified activation
and bias
.
n
- An int
which specifies the number of
Perceptron
s to be created.activation
- The Activation
object which indicates
the action function to be used.bias
- A double
which specifies the initial
bias for the Perceptron
s.
Perceptron
s.public Node[] getNodes()
Perceptron
s in the OutputLayer
.
This method overides the method in Layer
to return the
Perceptron
s in an OutputPerceptron
array.
getNodes
in class Layer
OutputPerceptron[]
array containing the
Node
s in the OutputLayer
.
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |