📄 evaluator.java
字号:
package dragon.ml.seqmodel.evaluate;import dragon.ml.seqmodel.data.*;/** * <p>Interface of sequence labeling evaluator</p> * <p></p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: IST, Drexel University</p> * @author Davis Zhou * @version 1.0 */public interface Evaluator { /** * Evalutes the machine-generated labels * @param human the dataset with human-annotated labels * @param machine the dataset with machine-annotated labels */ public void evaluate(Dataset human, Dataset machine); /** * @return the number of total labels */ public int totalLabels(); /** * @return the number of lables set by machine */ public int annotatedLabels(); /** * @return the number of correct lables set by machine */ public int correctAnnotatedLabels(); public double precision(); public double recall();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -