Bias–Variance
Low K → jagged boundary, high variance (ROC curves spread wide across trials). High K → smooth boundary, high bias. Watch the boundary morph as you drag K.
Reading the ROC
Each point is a classification threshold. AUC summarises discriminability — 1.0 is perfect, 0.5 is random chance (dashed diagonal).
100 Trials
Resampling training data while holding the test set fixed reveals how much the ROC varies — a direct measure of model variance for the chosen K.