Package elki.result.outlier
Class OutlierResult
- java.lang.Object
-
- elki.result.outlier.OutlierResult
-
public class OutlierResult extends java.lang.Object
Wrap a typical Outlier result, keeping direct references to the main result parts.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private OutlierScoreMeta
meta
Outlier score meta informationprivate OrderingResult
ordering
Outlier ordering.private DoubleRelation
scores
Outlier scores.
-
Constructor Summary
Constructors Constructor Description OutlierResult(OutlierScoreMeta meta, DoubleRelation scores)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) double
evaluateBy(ScoreEvaluation eval)
Evaluate given a set of positives and a scoring.OrderingResult
getOrdering()
Get the outlier orderingOutlierScoreMeta
getOutlierMeta()
Get the outlier score meta datastatic java.util.List<OutlierResult>
getOutlierResults(java.lang.Object r)
Collect all outlier results from a ResultDoubleRelation
getScores()
Get the outlier scores association.
-
-
-
Field Detail
-
meta
private OutlierScoreMeta meta
Outlier score meta information
-
scores
private DoubleRelation scores
Outlier scores.
-
ordering
private OrderingResult ordering
Outlier ordering.
-
-
Constructor Detail
-
OutlierResult
public OutlierResult(OutlierScoreMeta meta, DoubleRelation scores)
Constructor.- Parameters:
meta
- Outlier score metadata.scores
- Scores result.
-
-
Method Detail
-
getOutlierMeta
public OutlierScoreMeta getOutlierMeta()
Get the outlier score meta data- Returns:
- the outlier meta information
-
getScores
public DoubleRelation getScores()
Get the outlier scores association.- Returns:
- the scores
-
getOrdering
public OrderingResult getOrdering()
Get the outlier ordering- Returns:
- the ordering
-
getOutlierResults
public static java.util.List<OutlierResult> getOutlierResults(java.lang.Object r)
Collect all outlier results from a Result- Parameters:
r
- Result- Returns:
- List of outlier results
-
evaluateBy
double evaluateBy(ScoreEvaluation eval)
Evaluate given a set of positives and a scoring.- Parameters:
eval
- Evaluation measure- Returns:
- Score
-
-