public class ROCEvaluation extends java.lang.Object implements ScoreEvaluation
| Modifier and Type | Class and Description |
|---|---|
static class |
ROCEvaluation.Parameterizer
Parameterization class.
|
ScoreEvaluation.Predicate<T>, ScoreEvaluation.ScoreIter| Modifier and Type | Field and Description |
|---|---|
static ROCEvaluation |
STATIC
Static instance
|
| Constructor and Description |
|---|
ROCEvaluation() |
| Modifier and Type | Method and Description |
|---|---|
static <I extends ScoreEvaluation.ScoreIter> |
computeROCAUC(ScoreEvaluation.Predicate<? super I> predicate,
I iter)
Compute the area under the ROC curve given a set of positive IDs and a
sorted list of (comparable, ID)s, where the comparable object is used to
decided when two objects are interchangeable.
|
<I extends ScoreEvaluation.ScoreIter> |
evaluate(ScoreEvaluation.Predicate<? super I> predicate,
I iter)
Evaluate a given predicate and iterator.
|
double |
expected(int pos,
int all)
Expected score for a random result.
|
static <I extends ScoreEvaluation.ScoreIter> |
materializeROC(ScoreEvaluation.Predicate<? super I> predicate,
I iter)
Compute a ROC curve given a set of positive IDs and a sorted list of
(comparable, ID)s, where the comparable object is used to decided when two
objects are interchangeable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluatepublic static final ROCEvaluation STATIC
public <I extends ScoreEvaluation.ScoreIter> double evaluate(ScoreEvaluation.Predicate<? super I> predicate, I iter)
ScoreEvaluationevaluate in interface ScoreEvaluationI - Iterator typepredicate - Predicate (for positives)iter - Iteratorpublic static <I extends ScoreEvaluation.ScoreIter> XYCurve materializeROC(ScoreEvaluation.Predicate<? super I> predicate, I iter)
I - Iterator typepredicate - Predicate to test for positive objectsiter - Iterator over results, with ties.public double expected(int pos,
int all)
ScoreEvaluationexpected in interface ScoreEvaluationpos - Number of positive elementsall - Total number of elementspublic static <I extends ScoreEvaluation.ScoreIter> double computeROCAUC(ScoreEvaluation.Predicate<? super I> predicate, I iter)
I - Iterator typepredicate - Predicate to test for positive objectsiter - Iterator over results, with ties.Copyright © 2019 ELKI Development Team. License information.