Skip to main content
. 2020 May 27;20(11):3037. doi: 10.3390/s20113037
Algorithm 1 Outlier Detection
1: Divide X into m sub-regions D={d1,d2,,dm} by Euclidean space distance of the points, and initialize
 outlier cluster c^O=0;
2: Conduct random sampling on each sub-region and generate hypotheses H;
3: Calculate the residual histogram preference matrix Q;
4: Calculate the distance matrix dw for the residual histogram preferences of points i and j;
5: Conduct linkage clustering with distance and obtain clusters C={c1,c2,,cn};
6: Calculate the outlier index ξ=[ξc1,ξc2,,ξcn] for each cluster in C, and select the cluster with the maximum
 outlier index as the outlier cluster cO=ct, t=argmaxjξcj, inlier clusters CI=CcO;
7: If cO==c^O, return cO as the outlier detection result; else c^O=cO, D=CI, and return to step 2.