minimizer.java

来自「Standord Classifier实现了一个基于Java的最大熵分类器。用于」· Java 代码 · 共 30 行

JAVA
30
字号
package edu.stanford.nlp.optimization;/** * The interface for unconstrained function minimizers. * * Implementations may also vary in their requirements for the * arguments.  For example, implementations may or may not care if the * <code>initial</code> feasible vector turns out to be non-feasible * (or null!).  Similarly, some methods may insist that objectives * and/or constraint <code>Function</code> objects actually be * <code>DiffFunction</code> objects. * * @author <a href="mailto:klein@cs.stanford.edu">Dan Klein</a> * @version 1.0 * @since 1.0 */public interface Minimizer {  /**   * Attempts to find an unconstrained minimum of the objective   * <code>function</code> starting at <code>initial</code>, within   * <code>functionTolerance</code>.   *   * @param function the objective function   * @param functionTolerance a <code>double</code> value   * @param initial a initial feasible point   */  double[] minimize(Function function, double functionTolerance, double[] initial);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?