|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.evaluation.outlier.JudgeOutlierScores
public class JudgeOutlierScores
Compute a Histogram to evaluate a ranking algorithm.
The parameter -hist.positive
specifies the class label of "positive"
hits.
Nested Class Summary | |
---|---|
static class |
JudgeOutlierScores.Parameterizer
Parameterization class. |
class |
JudgeOutlierScores.ScoreResult
Result object for outlier score judgements. |
Field Summary | |
---|---|
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 Summary | |
---|---|
JudgeOutlierScores(Pattern positive_class_name,
ScalingFunction scaling)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public JudgeOutlierScores(Pattern positive_class_name, ScalingFunction scaling)
positive_class_name
- Positive class namescaling
- Scaling functionMethod Detail |
---|
protected JudgeOutlierScores.ScoreResult computeScore(DBIDs ids, DBIDs outlierIds, OutlierResult or) throws IllegalStateException
ids
- Inlier IDsoutlierIds
- Outlier IDsor
- Outlier Result to evaluate
IllegalStateException
public void processNewResult(HierarchicalResult baseResult, Result result)
ResultProcessor
processNewResult
in interface ResultProcessor
baseResult
- The base of the result tree.result
- Newly added result subtree.
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |