What is a distance-based outlier?

Quick Overview

Asks what makes a point a distance-based outlier in feature space and how such points are identified. Tests understanding of outlier scoring, the role of the distance metric and feature scaling, threshold choice, and the limits of the approach on real data.

What is a distance-based outlier?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What is a distance-based outlier? ```hint Count the neighbors Compare how many points sit close to a typical point with how many sit close to an isolated one. Then ask what has to be true about the distance itself for that comparison to mean anything. ``` ### What a Strong Answer Covers - A precise definition and how points are scored - How a cutoff is chosen - Why the distance metric and feature scaling matter - The main failure cases of the approach - Methods that address those failure cases ### Follow-up Questions - How would you choose k, and what happens when a small cluster of outliers has more than k members? - How does the local outlier factor differ from the plain k-th neighbor distance? - How would you compute these scores for ten million points? - How would you define distance when some features are categorical?

Overview: Asks what makes a point a distance-based outlier in feature space and how such points are identified. Tests understanding of outlier scoring, the role of the distance metric and feature scaling, threshold choice, and the limits of the approach on real data.

PracHub logo
General
Nov 24, 2026
easyData ScientistOtherStatistics & Math
0
0

What is a distance-based outlier?

What a Strong Answer Covers Guidance

  • A precise definition and how points are scored
  • How a cutoff is chosen
  • Why the distance metric and feature scaling matter
  • The main failure cases of the approach
  • Methods that address those failure cases

Follow-up Questions Guidance

  • How would you choose k, and what happens when a small cluster of outliers has more than k members?
  • How does the local outlier factor differ from the plain k-th neighbor distance?
  • How would you compute these scores for ten million points?
  • How would you define distance when some features are categorical?