
O - Object typeD - Distance type@Reference(authors="V. Hautam\u00e4ki and I. K\u00e4rkk\u00e4inen and P Fr\u00e4nti", title="Outlier detection using k-nearest neighbour graph", booktitle="Proc. 17th Int. Conf. Pattern Recognition, ICPR 2004", url="http://dx.doi.org/10.1109/ICPR.2004.1334558") public class ODIN<O,D extends Distance<D>> extends AbstractDistanceBasedAlgorithm<O,D,OutlierResult> implements OutlierAlgorithm
V. Hautamäki and I. Kärkkäinen and P Fränti
Outlier detection using k-nearest neighbour graph
Proc. 17th Int. Conf. Pattern Recognition, ICPR 2004
| Modifier and Type | Class and Description |
|---|---|
static class |
ODIN.Parameterizer<O,D extends Distance<D>>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
k
Number of neighbors for kNN graph.
|
private static Logging |
LOG
Class logger.
|
DISTANCE_FUNCTION_ID| Constructor and Description |
|---|
ODIN(DistanceFunction<? super O,D> distanceFunction,
int k)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
OutlierResult |
run(Database database,
Relation<O> relation)
Run the ODIN algorithm
|
getDistanceFunctionmakeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
int k
public ODIN(DistanceFunction<? super O,D> distanceFunction, int k)
distanceFunction - Distance functionk - k parameterpublic OutlierResult run(Database database, Relation<O> relation)
database - Database to run on.relation - Relation to process.public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>