multiclassdecoder.java
来自「用java实现的关联规则算法Apriori算法」· Java 代码 · 共 27 行
JAVA
27 行
package dragon.ir.classification.multiclass;/** * <p>Interface for Multi-class Decoder</p> * <p></p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: IST, Drexel University</p> * @author Davis Zhou * @version 1.0 */public interface MultiClassDecoder { /** * Predicts the label of the example given the code matrix and the results of all binary classifiers * @param matrix the code matrix which describes the relationship between binary classifiers and categories * @param binClassifierResults the predictions of all binary classifiers * @return the category the example should be associated with */ public int decode(CodeMatrix matrix, double[] binClassifierResults); /** * Rank all class labels * @return the ranking of class labels. The first and last element of the returned array contain the most possible * label and the least possible label, respectively. */ public int[] rank();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?