RubixML / ML

A high-level machine learning and deep learning library for the PHP language.
https://rubixml.com
MIT License
2.03k stars 182 forks source link

Do not allow zero local reachability density in LocalOutlierFactor #335

Closed dmnc closed 4 months ago

dmnc commented 4 months ago

See https://github.com/RubixML/ML/issues/334

Sometimes we get an infinite k-distance which causes a zero local reachability density and a division by zero.

github-actions[bot] commented 4 months ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

dmnc commented 4 months ago

I have read the CLA Document and I hereby sign the CLA