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

Adjust indexing in data_store #17

Closed vc1492a closed 5 years ago

vc1492a commented 5 years ago

https://github.com/vc1492a/PyNomaly/blob/02eb013914efd21023251f733b80f4b76e323a30/PyNomaly/loop.py#L266

PyNomaly used to index the nearest neighbor distance column number 2, data_store[:, 2]. This indexing has been removed, but the indexing of the remaining calculations has not been changed to reflect this resulting in a column of None values in the second column of the data_store object.

vc1492a commented 5 years ago

Addressed in this commit.