Package cc.mallet.optimize

Examples of cc.mallet.optimize.BackTrackLineSearch


  // Line search function
  private LineOptimizer.ByGradient lineMaximizer;
 
  public LimitedMemoryBFGS (Optimizable.ByGradientValue function) {
    this.optimizable = function;
    lineMaximizer = new BackTrackLineSearch (function);
  }
View Full Code Here


    private OptimizerEvaluator.ByGradient eval;

    public MyConjugateGradient(Optimizable.ByGradientValue function, double initialStepSize) {
        this.initialStepSize = initialStepSize;
        this.optimizable = function;
        this.lineMaximizer = new BackTrackLineSearch(function);
        // Alternative:
        // this.lineMaximizer = new GradientBracketLineOptimizer (function);

    }
View Full Code Here

  // Line search function
  private LineOptimizer.ByGradient lineMaximizer;
 
  public LimitedMemoryBFGS (Optimizable.ByGradientValue function) {
    this.optimizable = function;
    lineMaximizer = new BackTrackLineSearch (function);
  }
View Full Code Here

 

  public CustomConjugateGradient(Optimizable.ByGradientValue function, double initialStepSize) {
    this.initialStepSize = initialStepSize;
    this.optimizable = function;
    this.lineMaximizer = new BackTrackLineSearch(function);
    BackTrackLineSearch l = (BackTrackLineSearch) this.lineMaximizer;
    l.setAbsTolx(eps);
    // Alternative:
    //this.lineMaximizer = new GradientBracketLineOptimizer (function);

    logger.setLevel(Level.OFF);
  }
View Full Code Here

  // Line search function
  private LineOptimizer.ByGradient lineMaximizer;
 
  public LimitedMemoryBFGS (Optimizable.ByGradientValue function) {
    this.optimizable = function;
    lineMaximizer = new BackTrackLineSearch (function);
  }
View Full Code Here

TOP

Related Classes of cc.mallet.optimize.BackTrackLineSearch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.