@Alias(value="de.lmu.ifi.dbs.elki.evaluation.histogram.ComputeOutlierHistogram") public class ComputeOutlierHistogram extends java.lang.Object implements Evaluator
-hist.positive
specifies the class label of "positive"
hits.Modifier and Type | Class and Description |
---|---|
static class |
ComputeOutlierHistogram.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private int |
bins
Number of bins
|
private java.util.regex.Pattern |
positiveClassName
Stores the "positive" class.
|
private ScalingFunction |
scaling
Scaling function to use
|
private boolean |
splitfreq
Flag to make split frequencies
|
Constructor and Description |
---|
ComputeOutlierHistogram(java.util.regex.Pattern positive_class_name,
int bins,
ScalingFunction scaling,
boolean splitfreq)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HistogramResult |
evaluateOutlierResult(Database database,
OutlierResult or)
Evaluate a single outlier result as histogram.
|
void |
processNewResult(ResultHierarchy hier,
Result newResult)
Process a result.
|
private java.util.regex.Pattern positiveClassName
private int bins
private ScalingFunction scaling
private boolean splitfreq
public ComputeOutlierHistogram(java.util.regex.Pattern positive_class_name, int bins, ScalingFunction scaling, boolean splitfreq)
positive_class_name
- Class namebins
- Binsscaling
- Scalingsplitfreq
- Scale inlier and outlier frequencies independentlypublic HistogramResult evaluateOutlierResult(Database database, OutlierResult or)
database
- Database to processor
- Outlier resultpublic void processNewResult(ResultHierarchy hier, Result newResult)
ResultProcessor
processNewResult
in interface ResultProcessor
hier
- The base of the result tree.newResult
- Newly added result subtree.Copyright © 2019 ELKI Development Team. License information.