Documentation of 'org.encog.neural.pattern.FeedForwardPattern' Java class
FeedForwardPattern
org.encog.neural.pattern

Class FeedForwardPattern

  • All Implemented Interfaces:
    NeuralNetworkPattern


    public class FeedForwardPattern
    extends java.lang.Object
    implements NeuralNetworkPattern
    Used to create feedforward neural networks. A feedforward network has an input and output layers separated by zero or more hidden layers. The feedforward neural network is one of the most common neural network patterns.
    • Constructor Detail

      • FeedForwardPattern

        public FeedForwardPattern()
    • Method Detail

      • addHiddenLayer

        public void addHiddenLayer(int count)
        Add a hidden layer, with the specified number of neurons.
        Specified by:
        addHiddenLayer in interface NeuralNetworkPattern
        Parameters:
        count - The number of neurons to add.
      • generate

        public MLMethod generate()
        Generate the feedforward neural network.
        Specified by:
        generate in interface NeuralNetworkPattern
        Returns:
        The feedforward neural network.
      • setInputNeurons

        public void setInputNeurons(int count)
        Set the number of input neurons.
        Specified by:
        setInputNeurons in interface NeuralNetworkPattern
        Parameters:
        count - Neuron count.
      • setOutputNeurons

        public void setOutputNeurons(int count)
        Set the number of output neurons.
        Specified by:
        setOutputNeurons in interface NeuralNetworkPattern
        Parameters:
        count - Neuron count.
      • getActivationOutput

        public ActivationFunction getActivationOutput()
        Returns:
        the activationOutput
      • setActivationOutput

        public void setActivationOutput(ActivationFunction activationOutput)
        Parameters:
        activationOutput - the activationOutput to set

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.