|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmulan.evaluation.measure.LabelBasedAveragePrecision.ConfidenceActual
protected class LabelBasedAveragePrecision.ConfidenceActual
Class that stores a confidence and a ground truth for one label/example
| Constructor Summary | |
|---|---|
LabelBasedAveragePrecision.ConfidenceActual(double confidence,
boolean actual)
Creates a new instance of this class |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
getActual()
Returns the ground truth |
double |
getConfidence()
Returns the confidence |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelBasedAveragePrecision.ConfidenceActual(double confidence,
boolean actual)
confidence - the confidenceactual - the ground truth| Method Detail |
|---|
public boolean getActual()
public double getConfidence()
public int compareTo(Object o)
compareTo in interface Comparable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||