
public class OutlierPrecisionAtKCurve extends Object implements Evaluator
| Modifier and Type | Class and Description |
|---|---|
static class |
OutlierPrecisionAtKCurve.Parameterizer
Parameterization class.
|
static class |
OutlierPrecisionAtKCurve.PrecisionAtKCurve
Precision at K curve.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
The logger.
|
static OptionID |
MAX_K_ID
Maximum value for k
Key:
-precision.k
|
(package private) int |
maxk
Maximum value for k
|
static OptionID |
POSITIVE_CLASS_NAME_ID
The pattern to identify positive classes.
|
private Pattern |
positiveClassName
Stores the "positive" class.
|
| Constructor and Description |
|---|
OutlierPrecisionAtKCurve(Pattern positiveClassName,
int maxk)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private XYCurve |
computePrecisionResult(int size,
SetDBIDs positiveids,
DBIDs order) |
void |
processNewResult(HierarchicalResult baseResult,
Result result)
Process a result.
|
private static final Logging LOG
public static final OptionID POSITIVE_CLASS_NAME_ID
Key: -precision.positive
public static final OptionID MAX_K_ID
Key: -precision.k
private Pattern positiveClassName
int maxk
public OutlierPrecisionAtKCurve(Pattern positiveClassName, int maxk)
positiveClassName - Pattern to recognize outliersmaxk - Maximum value for kpublic void processNewResult(HierarchicalResult baseResult, Result result)
ResultProcessorprocessNewResult in interface ResultProcessorbaseResult - The base of the result tree.result - Newly added result subtree.