Difference between Global Outlier and Contextual Outlier? I am studying "Data Mining: Concepts and Techniques" by Han, Kamber &amp; Pei. In Chapter 12 "Outlier Detection", they have stated that there are 3 types of outliers:


Global Outlier - deviates significantly from the rest of the data set
Contextual Outlier - deviates significantly with respect to a specific context of the object
Collective Outlier - the individual data objects may not be outliers, but the objects as a whole deviate significantly from the entire data set. 


According to the authors:


  “The temperature today is 28 C. Is it exceptional (i.e., an outlier)?” It depends, for example, on the time and location! If it is in winter in Toronto, yes, it is an outlier. If it is a summer day in Toronto, then it is normal. Unlike global outlier detection, in this case, whether or not today’s temperature value is an outlier depends on the context—the date, the location, and possibly some other factors. In a given data set, a data object is a contextual outlier if it deviates significantly with respect to a specific context of the object. Contextual outliers are also known as conditional outliers because they are conditional on the selected context. Therefore, in contextual outlier detection, the context has to be specified as part of the problem definition.


My question : Is not Contextual Outliers the same as Global Outliers where the original feature vector describing each data object may have to be extended to incorporate some other attributes (information regarding the "context") ?
Obviously, if the data objects do not contain enough attributes, they can never be classified as outlier ! This holds true for global outliers as well. So it makes no sense to me to form a new category of outliers as Contextual Outliers.
Let's say that your dataset is a bunch of temperatures with a bunch of features related to when/where the measurements were made.
A measurement is a global outlier if it diverges from the distribution of temperatures regardless of the features (when and where) because that measurement is far off the global distribution (100°C for example).
The example makes a good case of how looking at conditional distributions (temperature|place, time of measurement) can provide additional insights (here detecting that 28°C is a contextual outlier). Contextual outliers are within the global distribution but are outliers when looking at conditional distributions.
Now of course your dataset has some context, so in a sense you're right, everything is contextual, but the global/contextual border resides in what you have at hand : if all you have is the temperatures from one day, comparing a temperature from that day to all the measurements of that day will allow you do detect gloabl outliers ; now if you had access to temperatures all year long and that your still looked at that day precisely, that would become a conditional distribution.