Label two-feature samples and train a tiny local logistic classifier; inspect the probability map, compare held-out accuracy, and solve three boundary challenges.
The training garden
Tap any circle to flip its training label. Cyan = class 1, coral = class 0. Diamonds are held out and never used to train. The background is the learned probability.