public class JudgeOutlierScores extends Object implements Evaluator
-hist.positive
specifies the class label of "positive"
hits.Modifier and Type | Class and Description |
---|---|
static class |
JudgeOutlierScores.Parameterizer
Parameterization class.
|
class |
JudgeOutlierScores.ScoreResult
Result object for outlier score judgements.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Logger for debug output.
|
static OptionID |
POSITIVE_CLASS_NAME_ID
The distance function to determine the reachability distance between
database objects.
|
private Pattern |
positiveClassName
Stores the "positive" class.
|
private ScalingFunction |
scaling
Scaling function to use
|
static OptionID |
SCALING_ID
Parameter to specify a scaling function to use.
|
Constructor and Description |
---|
JudgeOutlierScores(Pattern positive_class_name,
ScalingFunction scaling)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected JudgeOutlierScores.ScoreResult |
computeScore(DBIDs ids,
DBIDs outlierIds,
OutlierResult or)
Evaluate a single outlier score result.
|
void |
processNewResult(ResultHierarchy hier,
Result result)
Process a result.
|
private static final Logging LOG
public static final OptionID POSITIVE_CLASS_NAME_ID
Default value: EuclideanDistanceFunction
Key: -comphist.positive
public static final OptionID SCALING_ID
Key: -comphist.scaling
private Pattern positiveClassName
private ScalingFunction scaling
public JudgeOutlierScores(Pattern positive_class_name, ScalingFunction scaling)
positive_class_name
- Positive class namescaling
- Scaling functionprotected JudgeOutlierScores.ScoreResult computeScore(DBIDs ids, DBIDs outlierIds, OutlierResult or) throws IllegalStateException
ids
- Inlier IDsoutlierIds
- Outlier IDsor
- Outlier Result to evaluateIllegalStateException
public void processNewResult(ResultHierarchy hier, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
hier
- The base of the result tree.result
- Newly added result subtree.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.