Definition

Clustering discovers groups of similar objects. Outlier detection identifies observations that are unusual relative to a chosen reference or model.

Intuition

Clustering asks which observations belong together. Outlier detection asks which observations stand apart. Neither automatically supplies a real-world explanation.

Study example

Cluster users by activity patterns without providing customer-type labels. An unusually intense activity record may be an error, an exceptional user, or a suspicious event; investigate before assigning meaning.

Important rules

  • Similarity depends on representation and the chosen comparison.
  • Scaling numeric features can change groupings.
  • A cluster is not automatically a meaningful category.
  • Outliers can be valuable signals rather than records to delete.
  • The lecture introduces these objectives without specifying a clustering algorithm.

Common mistakes

  • Treating clustering as classification with hidden labels.
  • Assuming every outlier is malicious or incorrect.
  • Inferring natural categories from a plot alone.

Source

Elena Baralis, The Big Data Challenge, PDF pages 39-42. Context: Lecture 01 - The Big Data Challenge. Representation, scaling, and interpretation guidance are study explanations.

Exam practice and transfer

Worked scenario

A university analytics team is investigating clustering and outlier detection. It must state the analytical question, identify the relevant observations and explain what evidence would make the result useful rather than merely plausible. Use the concept’s definition to justify each design choice.

Concrete example

Grouping customers by spending and visit frequency is clustering. Flagging one account with an unusual number of failed logins is outlier detection. Neither result explains the cause without investigation.

Retrieval questions

  • Explain Clustering and Outlier Detection in your own words, then identify the problem it prevents in a real data project.
  • Give a small example that would violate the concept, and explain how the violation would distort an analysis or query.
  • Compare this concept with the nearest related idea in the note and state when each should be used.

These prompts are added study practice. They require explanation and transfer rather than copying a definition.