The Machine Learning “Advent Calendar” Day 9: LOF in Excel

AI-generated summary of reporting by Towards Data Science Blog. Read the original for the full story. The source provided limited text, so this summary is brief.

Why it matters

Very little changes for practitioners; this is an educational walkthrough of Local Outlier Factor using Excel, useful mainly for building intuition about how unsupervised anomaly detection definitions differ.

Read this as

This is a tutorial article from Towards Data Science that explains the Local Outlier Factor (LOF) method for finding unusual data points, using small datasets and Excel rather than code. It breaks the method into three steps: computing distances and neighbors, reachability distances, and a final LOF score. Its central lesson is that there is no single 'true' outlier in unsupervised learning, different algorithms define outlierness differently. No new tool, data or benchmark is presented.

This is a teaching article, not a product or research announcement: it walks through the Local Outlier Factor anomaly-detection method in Excel using tiny example datasets. It argues that deciding which points count as outliers depends on which definition of an outlier an algorithm uses, a decision that affects any fraud or anomaly detection project. It contains no pricing, deployment or performance figures.

The tutorial covers LOF in three stages: computing pairwise distances and neighbor sets, calculating reachability distances, and producing the final LOF score, all worked in Excel on tiny datasets. It demonstrates that two points which look obviously anomalous to a human can be scored differently by different algorithms, since 'outlier' is definition-dependent in unsupervised learning. No benchmarks, code repositories, datasets or hyperparameter guidance are provided.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Local Outlier Factor LOF Towards Data Science

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.