public class HiddenLayer extends Layer
Network.Network.createHiddenLayer(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
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 function and bias. |
Perceptron[] |
createPerceptrons(int n)
Creates a number of
Perceptrons in this Layer
of the neural network. |
Perceptron[] |
createPerceptrons(int n,
Activation activation,
double bias)
Creates a number of
Perceptrons in this Layer
with the specified bias. |
public Perceptron createPerceptron(Activation activation, double bias)
Perceptron in this Layer with a
specified activation function and bias.activation - The Activation object which specifies
the activation function to be used.bias - A double which specifies the initial value
for the bias weight.public Perceptron createPerceptron()
Perceptron in this Layer of the
neural network. The created Perceptron uses the logistic
activation function and has an initial bias value of zero.public Perceptron[] createPerceptrons(int n)
Perceptrons in this Layer
of the neural network. The created Perceptrons use the
logistic activation function and have an initial bias value of
zero.n - An int which specifies the number of
Perceptrons to be created.Perceptrons.public Perceptron[] createPerceptrons(int n, Activation activation, double bias)
Perceptrons in this Layer
with the specified bias.n - An int which specifies the number of
Perceptrons to be created.activation - The Activation object which specifies the
action function to be used.bias - A double containing the initial value to be
applied as the bias values for the
Perceptrons.Perceptrons.Copyright © 2020 Rogue Wave Software. All rights reserved.