kLabUM / rrcf

🌲 Implementation of the Robust Random Cut Forest algorithm for anomaly detection on streams
https://klabum.github.io/rrcf/
MIT License
488 stars 111 forks source link

ensure bbox_hat has right dimensions #101

Closed mwhitworth closed 11 months ago

mwhitworth commented 12 months ago

When we have a single root label, the bounding box dimensions are 1xd, not 2xd.

This means that the logic to set the bounding boxes will result in a single point being evaluated for a cut, which will result in a non-optimal cut

mdbartos commented 11 months ago

Looks good, and all tests are passing. Merging this in.