50 likes | 165 Views
An Example of Pruning Technique for Outlier Detection. 2. 1. 1. Example. Using the distance based method where knn=1, the left-most point is outlier Using pruning: What is the best case? What is the worst case?. Outliers has first ordering. 2. 1. 1. 1. 2. 3. 4.
E N D
2 1 1 Example • Using the distance based method where knn=1, the left-most point is outlier • Using pruning: • What is the best case? • What is the worst case?
Outliers has first ordering 2 1 1 1 2 3 4 • Total # comparisons = 10
Outliers has last ordering 2 1 1 4 3 2 1 • Total # comparisons = 12
Another case 2 1 1 2 3 1 4 • Total # comparisons = 8