public class Performance extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
fn |
protected int |
fp |
protected int |
tn |
protected int |
tp |
Constructor and Description |
---|
Performance() |
Modifier and Type | Method and Description |
---|---|
void |
addFN() |
void |
addFN(int count) |
void |
addFP() |
void |
addFP(int count) |
void |
addTN() |
void |
addTN(int count) |
void |
addTP() |
void |
addTP(int count) |
void |
calculate()
Calculates precision recall and so on
|
int |
getAll() |
double |
getF1() |
int |
getFN() |
int |
getFP() |
double |
getPrecision() |
double |
getRecall() |
int |
getTN() |
int |
getTP() |
public void addTP()
public void addTP(int count)
public void addTN()
public void addTN(int count)
public void addFP()
public void addFP(int count)
public void addFN()
public void addFN(int count)
public int getTP()
public int getTN()
public int getFP()
public int getFN()
public double getPrecision()
public double getRecall()
public double getF1()
public int getAll()
public void calculate()
Copyright © 2016. All rights reserved.