N - Neighborhood object type@Title(value="A Trimmed Mean Approach to Finding Spatial Outliers") @Description(value="A local trimmed mean approach to evaluating the spatial outlier factor which is the degree that a site is outlying compared to its neighbors") @Reference(authors="T. Hu, S. Y. Sung", title="A trimmed mean approach to finding spatial outliers", booktitle="Intelligent Data Analysis 8", url="http://content.iospress.com/articles/intelligent-data-analysis/ida00153", bibkey="DBLP:journals/ida/HuS04") public class TrimmedMeanApproach<N> extends AbstractNeighborhoodOutlier<N>
Outliers are defined by their value deviation from a trimmed mean of the neighbors.
Reference:
T. Hu, S. Y. Sung
A Trimmed Mean Approach to finding Spatial Outliers
Intelligent Data Analysis 8
the contiguity Matrix is definit as
wij = 1/k if j is neighbor of i, k is the neighbors size of i.
| Modifier and Type | Class and Description |
|---|---|
static class |
TrimmedMeanApproach.Parameterizer<N>
Parameterizer.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
The logger for this class.
|
private double |
p
the parameter p.
|
NEIGHBORHOOD_IDALGORITHM_ID| Modifier | Constructor and Description |
|---|---|
protected |
TrimmedMeanApproach(NeighborSetPredicate.Factory<N> npredf,
double p)
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<N> nrel,
Relation<? extends NumberVector> relation)
Run the algorithm.
|
getNeighborSetPredicateFactoryrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
private double p
protected TrimmedMeanApproach(NeighborSetPredicate.Factory<N> npredf, double p)
p - Parameter pnpredf - Neighborhood factory.public OutlierResult run(Database database, Relation<N> nrel, Relation<? extends NumberVector> relation)
database - Databasenrel - Neighborhood relationrelation - Data Relation (1 dimensional!)protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>Copyright © 2019 ELKI Development Team. License information.