Consider the nested loop approach to mining distance-based outliers (Figure 12.6). Suppose the objects in a data set are arranged randomly, that is, each object has the same probability to appear in a position. Show that when the number of outlier objects is small with respect to the total number of objects in the whole data set, the expected number of distance calculations is linear to the number of objects.
![1659_c6c7f23b-3ea1-4ad8-bad6-d78d1b4a079f.png](https://secure.tutorsglobe.com/CMSImages/1659_c6c7f23b-3ea1-4ad8-bad6-d78d1b4a079f.png)