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

Raise an exception instead of using sys.exit() #29

Closed vc1492a closed 5 years ago

vc1492a commented 5 years ago

https://github.com/vc1492a/PyNomaly/blob/42136a42b2d533dcd1f94f65695507029d26c69d/PyNomaly/loop.py#L402

vc1492a commented 5 years ago

Replace warnings use elsewhere with raised exceptions.

vc1492a commented 5 years ago

Decided against this after further review of the code base as this enables the desired behavior when encountering missing values.