Distance-Based Outlier Detection - Grid-Based Method

Works in a smiliar way to the Distance-Based Outlier Detection - Nested Loop Method but it tries to reduce the amount of loops by grouping multiple Data Objects into cells.

Create a grid

  • Divide data space into a multidimensional grid
  • Each cell has diagonal length r2\frac{r}{2}
  • Each cell has length r2l\frac{r}{2\sqrt{ l }} where ll is the dimension of the dataset
  • There are Level 1 cells which have d(c,y)rd(c,y)\leq r
  • There are Level 2 cells which have d(c,y)rd(c, y)\geq r

A grid will look like this when the objects in cell CC have to be classified: Bildschirmfoto 2022-10-15 um 14.56.07.png

Cell Pruning Rules

If

a+b1>πna+b_1>\lceil\pi n\rceil

then every object in CC is not an Outlier.

If

 If a+b1+b2<πn+1\text { If } a+b_1+b_2<\lceil\pi n\rceil+1

then all objects in CC are outliers.

For all other cases the objects have to be checked individually. For example with the Distance-Based Outlier Detection - Nested Loop Method.