T - public class F1Calculator<T> extends Object
T to implement the correct equals() method
so that gold and answer can be directly compared| Constructor and Description |
|---|
F1Calculator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(T gold,
T answer) |
void |
addInstances(Set<T> gold,
Set<T> answer) |
void |
addUnasnweredGold() |
void |
addWrongAnswer() |
double |
getF1() |
double |
getPrecision() |
double |
getRecall() |
static void |
main(String[] args) |
void |
printDetailedStat() |
void |
printStat() |
public void addUnasnweredGold()
public void addWrongAnswer()
public double getPrecision()
public double getRecall()
public double getF1()
public void printStat()
public void printDetailedStat()
public static void main(String[] args)
args - Copyright © 2017. All rights reserved.