Class Weight


  • public class Weight
    extends Object
    Weight is used to update NN weights according to propagation option. Which is also copied from Encog.

    We'd like to reuse code from Encog but unfortunately the methods are private:(.

    • Constructor Detail

      • Weight

        public Weight​(int numWeight,
                      double numTrainSize,
                      double rate,
                      String algorithm)
    • Method Detail

      • calculateWeights

        public double[] calculateWeights​(double[] weights,
                                         double[] gradients)