Package cc.mallet.optimize

Examples of cc.mallet.optimize.OrthantWiseLimitedMemoryBFGS


    this.gaussianPriorVariance = Double.MAX_VALUE;
  }

  public Optimizer getOptimizer() {
    if (optimizer == null && optimizable != null)
      optimizer = new OrthantWiseLimitedMemoryBFGS(optimizable, l1Weight);
    return optimizer;
  }
View Full Code Here


    if (trainingSet != this.trainingSet || optimizable == null) {
      getOptimizable(trainingSet);
      optimizer = null;
    }
    if (optimizer == null)
      optimizer = new OrthantWiseLimitedMemoryBFGS(optimizable, l1Weight);
    return optimizer;
  }
View Full Code Here

  }

  public Optimizer getOptimizer(InstanceList trainingSet) {
    getOptimizableCRF(trainingSet);
    if (opt == null || ocrf != opt.getOptimizable())
      opt = new OrthantWiseLimitedMemoryBFGS(ocrf, l1Weight);
    return opt;
  }
View Full Code Here

TOP

Related Classes of cc.mallet.optimize.OrthantWiseLimitedMemoryBFGS

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.