public class JudgeOutlierScores extends java.lang.Object implements Evaluator
The parameter -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.
|
private java.util.regex.Pattern |
positiveClassName
Stores the "positive" class.
|
private ScalingFunction |
scaling
Scaling function to use
|
Constructor and Description |
---|
JudgeOutlierScores(java.util.regex.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
private java.util.regex.Pattern positiveClassName
private ScalingFunction scaling
public JudgeOutlierScores(java.util.regex.Pattern positive_class_name, ScalingFunction scaling)
positive_class_name
- Positive class namescaling
- Scaling functionprotected JudgeOutlierScores.ScoreResult computeScore(DBIDs ids, DBIDs outlierIds, OutlierResult or) throws java.lang.IllegalStateException
ids
- Inlier IDsoutlierIds
- Outlier IDsor
- Outlier Result to evaluatejava.lang.IllegalStateException
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 © 2019 ELKI Development Team. License information.