⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 writablepredictor.java

📁 Boosting算法软件包
💻 JAVA
字号:
package jboost;import java.io.FileNotFoundException;import java.io.IOException;import jboost.examples.ExampleDescription;/** * An object that can classify <code>Instance</code>s, and that can also * write itself out in C or Java. */public interface WritablePredictor extends Predictor{   /** Produces Java code for this combined classifier.    * @param cname name of class of produced code    * @param fname name of method for predicting on new data    * @param specFileName name of the spec file to be used for reading data                     or null if code is not to read new data.    * @param exampleDescription the description of examples   */    public abstract String toJava(String cname,				  String fname,				  String specFileName,				  ExampleDescription exampleDescription)	throws FileNotFoundException, IOException;   /** Produces C code for this combined classifier.    * @param fname name of procedure for predicting on new data    * @param exampleDescription the description of examples    */    public abstract String toC(String fname,			       ExampleDescription exampleDescription);   /** Produces Matlab code for this combined classifier.    * @param fname name of procedure for predicting on new data    * @param exampleDescription the description of examples    */    public abstract String toMatlab(String fname,				    ExampleDescription exampleDescription);}

⌨️ 快捷键说明

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