function.java

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

JAVA
26
字号
package edu.stanford.nlp.optimization;/** * An interface for double-valued functions over double arrays.   * * @author <a href="mailto:klein@cs.stanford.edu">Dan Klein</a> * @version 1.0 * @since 1.0 */public interface Function {  /**   * Returns the value of the function at a single point.   *   * @param x a <code>double[]</code> input   * @return the function value at the input   */  double valueAt(double[] x);  /**   * Returns the number of dimensions in the function's domain   *   * @return the number of domain dimensions   */  int domainDimension();}

⌨️ 快捷键说明

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