
public class OutlierPrecisionAtKCurve extends Object implements Evaluator
| Modifier and Type | Class and Description | 
|---|---|
| static class  | OutlierPrecisionAtKCurve.ParameterizerParameterization class. | 
| static class  | OutlierPrecisionAtKCurve.PrecisionAtKCurvePrecision at K curve. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGThe logger. | 
| static OptionID | MAX_K_IDMaximum value for k
 
 
 Key:  -precision.k | 
| (package private) int | maxkMaximum value for k | 
| static OptionID | POSITIVE_CLASS_NAME_IDThe pattern to identify positive classes. | 
| private Pattern | positiveClassNameStores 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.