Class HiddenLayer

java.lang.Object
com.imsl.datamining.neural.Layer
com.imsl.datamining.neural.HiddenLayer
All Implemented Interfaces:
Serializable

public class HiddenLayer extends Layer
Hidden layer in a neural network. This is created by a factory method in Network.
See Also:
  • Method Details

    • createPerceptron

      public Perceptron createPerceptron(Activation activation, double bias)
      Creates a Perceptron in this Layer with a specified activation function and bias.
      Parameters:
      activation - The Activation object which specifies the activation function to be used.
      bias - A double which specifies the initial value for the bias weight.
    • createPerceptron

      public Perceptron createPerceptron()
      Creates a Perceptron in this Layer of the neural network. The created Perceptron uses the logistic activation function and has an initial bias value of zero.
    • createPerceptrons

      public Perceptron[] createPerceptrons(int n)
      Creates a number of Perceptrons in this Layer of the neural network. The created Perceptrons use the logistic activation function and have an initial bias value of zero.
      Parameters:
      n - An int which specifies the number of Perceptrons to be created.
      Returns:
      An array containing the created Perceptrons.
    • createPerceptrons

      public Perceptron[] createPerceptrons(int n, Activation activation, double bias)
      Creates a number of Perceptrons in this Layer with the specified bias.
      Parameters:
      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.
      Returns:
      An array containing the created Perceptrons.