Documentation of 'org.nd4j.linalg.solvers.VectorizedDeepLearningGradientAscent' Java class
VectorizedDeepLearningGradientAscent
org.nd4j.linalg.solvers

Class VectorizedDeepLearningGradientAscent

  • All Implemented Interfaces:
    OptimizerMatrix


    public class VectorizedDeepLearningGradientAscent
    extends java.lang.Object
    implements OptimizerMatrix
    Vectorized Stochastic Gradient Ascent
    • Method Detail

      • isConverged

        public boolean isConverged()
        Description copied from interface: OptimizerMatrix
        Whether the algorithm is converged
        Specified by:
        isConverged in interface OptimizerMatrix
        Returns:
        true if the algorithm converged, false otherwise
      • setTolerance

        public void setTolerance(double tolerance)
        Sets the tolerance in the convergence test: 2.0*|value-old_value| <= tolerance*(|value|+|old_value|+eps) Default value is 0.001.
        Specified by:
        setTolerance in interface OptimizerMatrix
        Parameters:
        tolerance - tolerance for convergence test
      • getInitialStepSize

        public double getInitialStepSize()
      • setInitialStepSize

        public void setInitialStepSize(double initialStepSize)
      • getStpmax

        public double getStpmax()
      • setStpmax

        public void setStpmax(double stpmax)
      • optimize

        public boolean optimize()
        Description copied from interface: OptimizerMatrix
        Run optimize
        Specified by:
        optimize in interface OptimizerMatrix
        Returns:
        whether the algorithm converged properly
      • optimize

        public boolean optimize(int numIterations)
        Description copied from interface: OptimizerMatrix
        Run optimize up to the specified number of epochs
        Specified by:
        optimize in interface OptimizerMatrix
        Parameters:
        numIterations - the max number of epochs to run
        Returns:
        whether the algorihtm converged properly
      • setMaxStepSize

        public void setMaxStepSize(double v)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.