Modifier and Type | Field and Description |
---|---|
private int |
FN |
private int |
FP |
private int |
TN |
private int |
TP |
Constructor and Description |
---|
FPFNStatBox() |
Modifier and Type | Method and Description |
---|---|
void |
add(StatBox box)
Returns a new FPFNStatBox whose variables are the sums of the variables of this stat box and the given stat box.
|
double |
getFN() |
double |
getFP() |
double |
getNegativePredictiveValue() |
double |
getPhiCoefCorr()
The Pearson product-moment coefficient of correlation, aka phi coefficient of correlation".
|
double |
getPositivePredictiveValue() |
double |
getSensitivity()
Sen = TP / (TP+FN).
|
double |
getSpecificity()
Spec = TN / (TN+FP).
|
double |
getTN() |
double |
getTP() |
double |
getValue()
Returns the coefficient of correlation.
|
void |
setFN(int i) |
void |
setFP(int i) |
void |
setTN(int i) |
void |
setTP(int i) |
java.lang.String |
toString() |
public void add(StatBox box)
public double getFN()
public double getFP()
public double getNegativePredictiveValue()
public double getPhiCoefCorr()
public double getPositivePredictiveValue()
public double getSensitivity()
public double getSpecificity()
public double getTN()
public double getTP()
public double getValue()
public void setFN(int i)
public void setFP(int i)
public void setTN(int i)
public void setTP(int i)
public java.lang.String toString()
toString
in class java.lang.Object