Explain the concept of Local Outlier Factor (LOF).
Updated May 5, 2026
Short answer
It compares the density of a point to the density of its neighbors[cite: 1].
Deep explanation
If a point's density is significantly lower than its neighbors, it is likely an outlier in that local region[cite: 1].
Real-world example
Finding a high-spending customer in a rural area compared to their local peers[cite: 1].
Common mistakes
- Failing to normalize features[cite: 1].
Follow-up questions
- Is LOF global or local?