|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.model.evaluation.PerClassResult
public final class PerClassResult
The evaluation per class result represented by TP, FP, TN and FN values.
Field Summary | |
---|---|
private double |
fn
The false negative count. |
private double |
fp
The false positive count. |
private double |
tn
The true negative count. |
private double |
tp
The true positive count. |
Constructor Summary | |
---|---|
PerClassResult(double tp,
double fp,
double tn,
double fn)
Constructor |
Method Summary | |
---|---|
double |
getAccuracy()
Getter for the accuracy for this class. |
double |
getFalseNegativeRate()
Getter for the proportion of positive samples that have been predicted incorrectly (false negative rate, also known as miss-rate). |
double |
getFalseNegatives()
Getter for the count of samples which belongs to the class, but have been incorrect predicted as member of another class (false negatives). |
double |
getFalsePositiveRate()
Getter for the proportion of real positive samples that have been predicted incorrectly as negative (false positive rate, also known as fall-out). |
double |
getFalsePositives()
Getter for the count of samples which have been incorrect predicted as members of the class (false positives). |
double |
getFMeasure()
Getter for F-Measure (the double harmonic mean of precision and recall). |
double |
getPrecision()
Getter for the proportion of the predicted positive samples that are correct (precision, also known as positive predictive value). |
private double |
getRealNegatives()
Getter for the total count of real negatives. |
private double |
getRealPositives()
Getter for the total count of real positives . |
double |
getRecall()
Getter for the recall. |
private double |
getTotalPositivePredicted()
Getter for the total count of predicted positives. |
double |
getTrueNegativeRate()
Getter for the proportion of negative samples that have been predicted correctly (true negative rate, also known as specificity or correct rejection rate). |
double |
getTrueNegatives()
Getter for the count of samples which have been correct predicted as no members of the class (true negatives). |
double |
getTruePositiveRate()
Getter for the proportion of positive samples that have been predicted correctly (true positive rate, also known as recall or hit-rate). |
double |
getTruePositives()
Getter for the count of correct classified samples of the class (true positives). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final double tp
private final double fp
private final double tn
private final double fn
Constructor Detail |
---|
public PerClassResult(double tp, double fp, double tn, double fn)
tp
- the true positive countfp
- the false positive counttn
- the true negative countfn
- the false negative countMethod Detail |
---|
public final double getTruePositives()
public final double getFalsePositives()
public final double getTrueNegatives()
public final double getFalseNegatives()
private final double getRealPositives()
private final double getRealNegatives()
private final double getTotalPositivePredicted()
public final double getAccuracy()
public final double getTruePositiveRate()
public final double getFalseNegativeRate()
public final double getTrueNegativeRate()
public final double getFalsePositiveRate()
public final double getRecall()
public final double getPrecision()
public final double getFMeasure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |