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

Class VectorizedNonZeroStoppingConjugateGradient

  • All Implemented Interfaces:
    OptimizerMatrix


    public class VectorizedNonZeroStoppingConjugateGradient
    extends java.lang.Object
    implements OptimizerMatrix
    Modified based on cc.mallet.optimize.ConjugateGradient

    no termination when zero tolerance

    Since:
    2013-08-25
    • 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
      • setInitialStepSize

        public void setInitialStepSize(double initialStepSize)
      • getInitialStepSize

        public double getInitialStepSize()
      • getStepSize

        public double getStepSize()
      • 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
      • reset

        public void reset()
      • getMaxIterations

        public int getMaxIterations()
      • setXi

        public void setXi(INDArray xi)
      • getFret

        public double getFret()
      • setFret

        public void setFret(double fret)
      • getStep

        public double getStep()
      • setStep

        public void setStep(double step)
      • getDgg

        public double getDgg()
      • setDgg

        public void setDgg(double dgg)
      • getGam

        public double getGam()
      • setGam

        public void setGam(double gam)
      • getGg

        public double getGg()
      • setGg

        public void setGg(double gg)
      • getFp

        public double getFp()
      • setFp

        public void setFp(double fp)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.