Switch a KNN model between k = 1, 7 and 15 neighbors. The shaded regions and the train and test accuracy show how much that one setting matters.
One KNN model, three values of k. Nothing else changes.
k=1 always scores 100% on training data — its nearest neighbor is itself.