Documentation of 'org.joone.engine.extenders.GradientExtender' Java class
GradientExtender
org.joone.engine.extenders

Class GradientExtender



  • public abstract class GradientExtender
    extends LearnerExtender
    This abstract class describes the methods needed for a gradient extender, that is, a class that computes / changes the gradient value according to some algorithm.
    • Constructor Detail

      • GradientExtender

        public GradientExtender()
        Creates a new instance of DeltaExtender
    • Method Detail

      • getGradientBias

        public abstract double getGradientBias(double[] currentGradientOuts,
                                               int j,
                                               double aPreviousGradient)
        Computes the gradient value for a bias.
        Parameters:
        currentGradientOuts - the back propagated gradients.
        j - the index of the bias.
        aPreviousGradient - a gradient value calculated by a previous gradient extender.
      • getGradientWeight

        public abstract double getGradientWeight(double[] currentInps,
                                                 int j,
                                                 double[] currentPattern,
                                                 int k,
                                                 double aPreviousGradient)
        Computes the gradient value for a weight.
        Parameters:
        currentInps - the forwarded input.
        j - the input index of the weight.
        currentPattern - the back propagated gradients.
        k - the output index of the weight.
        aPreviousGradient - a gradients value calculated by a previous gradients extender.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.