Documentation of 'cc.mallet.optimize.BackTrackLineSearch' Java class
BackTrackLineSearch
cc.mallet.optimize

Class BackTrackLineSearch

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double optimize(double[] line, double initialStep)
      Returns the last step size used.
      void setAbsTolx(double tolx)
      Sets the tolerance of absolute diff in function value.
      void setRelTolx(double tolx)
      Sets the tolerance of relative diff in function value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setRelTolx

        public void setRelTolx(double tolx)
        Sets the tolerance of relative diff in function value. Line search converges if abs(delta x / x) < tolx for all coordinates.
      • setAbsTolx

        public void setAbsTolx(double tolx)
        Sets the tolerance of absolute diff in function value. Line search converges if abs(delta x) < tolx for all coordinates.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.