Skip to content

Methods · Machine learning · Anomaly detection

Local Outlier Factor Anomaly Detection

The local outlier factor compares the local reachability density of each observation with that of its k nearest neighbours, so values well above 1 mark points that are sparse relative to their neighbourhood.

국소 이상치 요인(LOF)은 각 관측의 국소 도달 밀도를 k개 최근접 이웃의 밀도와 견주는 비율로, 1보다 훨씬 크면 주변보다 성긴 국소 이상치로 봅니다.

Which observations in my multivariate data are unusual compared with the points around them, even when clusters have different densities?

여러 변수로 이루어진 자료에서 주변 점들에 비해 유독 동떨어진 관측을 찾아낼 수 있을까요?

For each observation the method finds its k nearest neighbours, computes a local density from reachability distances, and divides the neighbours' average density by the observation's own density. Ratios near 1 indicate a typical point, and large ratios flag local outliers; by default points with a factor above 1.5 are flagged.

When to use Local Outlier Factor Anomaly Detection

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Local outlier factors (k = [value]) ranged up to [value] (median [value]); [value] of [value] observations ([value]%) exceeded the threshold of [value] and were flagged as local outliers.

Related methods

How this method is validated

이 방법의 검증 근거

  • Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.

    자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.

Run Local Outlier Factor Anomaly Detection on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Automated run tests; no external reference comparison yet
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q71029 · Reviewed 2026-10-25