O
- the type of DatabaseObject the algorithm is applied on@Title(value="INFLO: Influenced Outlierness Factor") @Description(value="Ranking Outliers Using Symmetric Neigborhood Relationship") @Reference(authors="Jin, W., Tung, A., Han, J., and Wang, W", title="Ranking outliers using symmetric neighborhood relationship", booktitle="Proc. Pacific-Asia Conf. on Knowledge Discovery and Data Mining (PAKDD), Singapore, 2006", url="http://dx.doi.org/10.1007/11731139_68") public class INFLO<O,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm<O,D,OutlierResult> implements OutlierAlgorithm
Reference:
Jin, W., Tung, A., Han, J., and Wang, W. 2006
Ranking outliers using symmetric neighborhood relationship
In Proc. Pacific-Asia Conf. on Knowledge Discovery and Data Mining (PAKDD),
Singapore
Modifier and Type | Class and Description |
---|---|
static class |
INFLO.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private int |
k
Holds the value of
K_ID . |
static OptionID |
K_ID
Parameter to specify the number of nearest neighbors of an object to be
considered for computing its INFLO_SCORE. must be an integer greater than
1.
|
private static Logging |
logger
The logger for this class.
|
private double |
m
Holds the value of
M_ID . |
static OptionID |
M_ID
Parameter to specify if any object is a Core Object must be a double
greater than 0.0
see paper "Two-way search method" 3.2
|
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
INFLO(DistanceFunction<? super O,D> distanceFunction,
double m,
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)
Runs the algorithm.
|
getDistanceFunction
makeParameterDistanceFunction
private static final Logging logger
public static final OptionID M_ID
see paper "Two-way search method" 3.2
private double m
M_ID
.public static final OptionID K_ID
private int k
K_ID
.public INFLO(DistanceFunction<? super O,D> distanceFunction, double m, int k)
distanceFunction
- Distance function in usem
- m Parameterk
- k Parameterpublic OutlierResult run(Database database) throws IllegalStateException
Algorithm
run
in interface Algorithm
run
in interface OutlierAlgorithm
run
in class AbstractAlgorithm<OutlierResult>
database
- the database to run the algorithm onIllegalStateException
- if the algorithm has not been initialized
properly (e.g. the setParameters(String[]) method has been failed
to be called).public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>