Class StandardBackpropagation

    • Constructor Detail

      • StandardBackpropagation

        public StandardBackpropagation()
    • Method Detail

      • initialize

        public void initialize​(NeuralNetwork nn,
                               int[] nperlayer,
                               Function[] functions,
                               Matrix[] W,
                               Column[] Y,
                               Column[] b,
                               Column[] u)
        Description copied from interface: Backpropagation
        Initializes the Backpropagation algorithm with the basic structures needed. This method usually should be called in the NeuralNetwork's train method right before calling the Backpropagation's train method.
        Specified by:
        initialize in interface Backpropagation
      • train

        public void train​(Column[] patterns,
                          Column[] answers,
                          double alpha,
                          int epochs,
                          int offset,
                          int length,
                          double minerror)
        Description copied from interface: Backpropagation
        Trains a neural network using the backpropagation implementaion.
        Specified by:
        train in interface Backpropagation