Package elki.outlier.trivial
Class TrivialAverageCoordinateOutlier
- java.lang.Object
-
- elki.outlier.trivial.TrivialAverageCoordinateOutlier
-
- All Implemented Interfaces:
Algorithm
,OutlierAlgorithm
@Priority(-150) public class TrivialAverageCoordinateOutlier extends java.lang.Object implements OutlierAlgorithm
Trivial method that takes the average of all dimensions (for one-dimensional data that is just the actual value!) as outlier score. Mostly useful to convert a 1d data set into a score, e.g., in geodata.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Constructor Summary
Constructors Constructor Description TrivialAverageCoordinateOutlier()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation[]
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.OutlierResult
run(Relation<? extends NumberVector> relation)
Run the actual algorithm.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Method Detail
-
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
Description copied from interface:Algorithm
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in interfaceAlgorithm
- Returns:
- Type restriction
-
run
public OutlierResult run(Relation<? extends NumberVector> relation)
Run the actual algorithm.- Parameters:
relation
- Relation- Returns:
- Result
-
-