O
- the type of objects handled by this algorithm@Reference(authors="B. Yu, M. Song, L. Wang", title="Local Isolation Coefficient-Based Outlier Mining Algorithm", booktitle="Int. Conf. on Information Technology and Computer Science (ITCS) 2009", url="https://doi.org/10.1109/ITCS.2009.230", bibkey="doi:10.1109/ITCS.2009.230") public class LocalIsolationCoefficient<O> extends AbstractDistanceBasedAlgorithm<O,OutlierResult> implements OutlierAlgorithm
The algorithm originally used a normalized Manhattan distance on numerical attributes, and Hamming distance on categorial attributes.
Reference:
B. Yu, M. Song, L. Wang
Local Isolation Coefficient-Based Outlier Mining Algorithm
Int. Conf. on Information Technology and Computer Science (ITCS) 2009
Modifier and Type | Class and Description |
---|---|
static class |
LocalIsolationCoefficient.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private int |
k
Holds the number of nearest neighbors to query (including query point!)
|
private static Logging |
LOG
The logger for this class.
|
ALGORITHM_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
LocalIsolationCoefficient(DistanceFunction<? super O> distanceFunction,
int k)
Constructor with parameters.
|
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)
Runs the algorithm in the timed evaluation part.
|
getDistanceFunction
run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
private static final Logging LOG
private int k
public LocalIsolationCoefficient(DistanceFunction<? super O> distanceFunction, int k)
distanceFunction
- Distance functionk
- k Parameter (not including query point!)public OutlierResult run(Database database, Relation<O> relation)
database
- Database contextrelation
- Data relationpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
Copyright © 2019 ELKI Development Team. License information.