decision-tree-cart
decision-tree-cart copied to clipboard
Lowering the threshold I was able to create splits when all the classes were the same
One thing I realized with this change was that by lowering the threshold I was able to create splits when all the classes were the same. I couldn't figure out if there was a way to stop splitting in that scenario.
Originally posted by @seppo0010 in https://github.com/mljs/decision-tree-cart/issues/15#issuecomment-888251796