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 |
---|---|
protected static Logging |
logger
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(HierarchicalResult baseResult,
Result result)
Process a result.
|
protected static final Logging logger
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(HierarchicalResult baseResult, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
baseResult
- The base of the result tree.result
- Newly added result subtree.