AI engineering glossary · Classical ML algorithms

What is LOF (local outlier factor)?

Local outlier factor (also called LOF): An anomaly score that compares a point's local density with the densities of its neighbours. A point sitting in a much sparser area than its neighbours gets a score well above 1 and is flagged.

Level: advancedTopic: Classical ML algorithms

Local outlier factor: an example

A house priced far from similar properties in its own locality scores high even if it is normal for the whole city.

Related terms

More Classical ML algorithms terms

Where you learn it

Local outlier factor is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.