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

Class UpdateWeightExtender

  • Direct Known Subclasses:
    BatchModeExtender, OnlineModeExtender


    public abstract class UpdateWeightExtender
    extends LearnerExtender
    This abstract class describes the methods needed for a update weight extender, that is, a class that updates weights (storing) according to some algorithm (e.g. batch mode).
    • Constructor Detail

      • UpdateWeightExtender

        public UpdateWeightExtender()
        Creates a new instance of UpdateWeightExtender
    • Method Detail

      • updateBias

        public abstract void updateBias(int i,
                                        double aDelta)
        Updates a bias with the calculated delta value.
        Parameters:
        i - the index of the bias to update.
        aDelta - the calculated delta value.
      • updateWeight

        public abstract void updateWeight(int j,
                                          int k,
                                          double aDelta)
        Updates a weight with the calculated delta value.
        Parameters:
        j - the input index of the weight to update.
        k - the output index of the weight to update.
        aDelta - the calculated delta value.
      • storeWeightsBiases

        public abstract boolean storeWeightsBiases()
        Checks if the weights or biases will be stored this cycle.
        Returns:
        true if the weights or biases will be stored this cycle, false otherwise.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.