Examples of OrthantWiseLimitedMemoryBFGS


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

Examples of cc.mallet.optimize.OrthantWiseLimitedMemoryBFGS

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

Examples of cc.mallet.optimize.OrthantWiseLimitedMemoryBFGS

  }

  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
Copyright © 2018 www.massapi.com. 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.