
public interface ScoreEvaluation
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ScoreEvaluation.Predicate<T>
Predicate to test whether an object is a true positive or false positive.
|
static interface |
ScoreEvaluation.ScoreIter
Iterator for comparing scores.
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(Cluster<?> clus,
DoubleDBIDList nei)
Evaluate given a cluster (of positive elements) and a scoring list.
|
double |
evaluate(DBIDs ids,
DoubleDBIDList nei)
Evaluate given a list of positives and a scoring.
|
double |
evaluate(DBIDs ids,
OutlierResult outlier)
Evaluate given a set of positives and a scoring.
|
<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.
|
<I extends ScoreEvaluation.ScoreIter> double evaluate(ScoreEvaluation.Predicate<? super I> predicate, I iter)
I - Iterator typepredicate - Predicate (for positives)iter - Iteratordouble evaluate(Cluster<?> clus, DoubleDBIDList nei)
clus - Cluster objectnei - Query resultdouble evaluate(DBIDs ids, DoubleDBIDList nei)
ids - Positive IDs, usually a set.nei - Query Resultdouble evaluate(DBIDs ids, OutlierResult outlier)
ids - Positive IDs, usually a set.outlier - Outlier detection resultdouble expected(int pos,
int all)
pos - Number of positive elementsall - Total number of elementsCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.