Closed pulquero closed 1 year ago
group() doesn't handle the edge case of n_classes=1 as innerbreaks is empty: groups_ = [arr[arr <= self.innerbreaks[0]]]
Thanks for reporting it. I will fix it soon (probably tomorrow, but don't hesitate if you prefer to submit a pull request yourself in the meantime).
This has been fixed in 85c80e3.
group() doesn't handle the edge case of n_classes=1 as innerbreaks is empty: groups_ = [arr[arr <= self.innerbreaks[0]]]