Skip to content

Commit 0db5263

Browse files
committed
Implement outlier detection using LOF
Outlier detection is an unsupervised algorithm for detecting outliers in groups of points (in the abstract sense) by computing local reachability density based on a specified number of neighbours.
1 parent afccc43 commit 0db5263

File tree

4 files changed

+492
-1
lines changed

4 files changed

+492
-1
lines changed

geo/CHANGES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## Unreleased
44

5-
*
5+
* Added outlier detection algorithm using [LOF](https://en.wikipedia.org/wiki/Local_outlier_factor)
6+
* <https://github.com/georust/geo/pull/904>
67

78
## 0.23.0
89

geo/src/algorithm/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,7 @@ pub use within::Within;
218218

219219
/// Planar sweep algorithm and related utils
220220
pub mod sweep;
221+
222+
/// Detect outliers in a group of points using [LOF](https://en.wikipedia.org/wiki/Local_outlier_factor)
223+
pub mod outlier_detection;
224+
pub use outlier_detection::OutlierDetection;

0 commit comments

Comments
 (0)