decision tree
a decision tree asks one question at a time: is x below this value, or y? it picks the question that makes the two sides purest, the one with the biggest information gain, then asks again on each side. it never looks ahead, so it can only cut straight across.
try this
- set max depth to 1. on xor every first cut has a gain of exactly 0, since each side is still half circles. go back to 2 and that useless cut makes two perfect ones possible.
- pick outliers and slide max depth up to 5. the tree cuts until each of the four strays sits in a box of its own: all 24 right, with cuts that only fit these points.
- pick separable. where the perceptron needs one slanted line, the tree builds a staircase of four cuts, and three of its boxes hold a single point.