vc1492a / PyNomaly

Anomaly detection using LoOP: Local Outlier Probabilities, a local density based outlier detection method providing an outlier score in the range of [0,1].
Other
305 stars 36 forks source link

Add other metric distances #13

Closed atthom closed 5 years ago

atthom commented 5 years ago

Your implementation of LoOP is great but I would like to use it with others metrics distances to achieve a better accuracy for my dataset. For example, The Mahalanobis distance could be very helpful.

vc1492a commented 5 years ago

@atthom I have merged dev with master and released this feature as part of the 0.2.6 release. Users can provide their own distance and neighbor matrices for use in calculating LoOP. See the newest documentation in the readme for an example.