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

Interface NeuralNetworkPattern

    • Method Detail

      • addHiddenLayer

        void addHiddenLayer(int count)
        Add the specified hidden layer.
        Parameters:
        count - The number of neurons in the hidden layer.
      • clear

        void clear()
        Clear the hidden layers so that they can be redefined.
      • generate

        MLMethod generate()
        Generate the specified neural network.
        Returns:
        The resulting neural network.
      • setActivationFunction

        void setActivationFunction(ActivationFunction activation)
        Set the activation function to be used for all created layers that allow an activation function to be specified. Not all patterns allow the activation function to be specified.
        Parameters:
        activation - The activation function.
      • setInputNeurons

        void setInputNeurons(int count)
        Set the number of input neurons.
        Parameters:
        count - The number of input neurons.
      • setOutputNeurons

        void setOutputNeurons(int count)
        Set the number of output neurons.
        Parameters:
        count - The output neuron count.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.