Research Article

Locality-Based Visual Outlier Detection Algorithm for Time Series

Pseudocode 4

HSDE-based outlier detection method.
Input: ā€‰ā€‰the time series
//the maximum of the hierarchy
//the in -distance
//the threshold of the local outlier factor LOF
Output: LOF( )
() HSS = HSDE(X)
() for each in HSS do
Computing the -distance neighborhood of ;
Computing the reachability distance of object ;
According to Formula (3), computing the
According to Formula (4), computing the LOF
if
Label as outlier
() return LOF