k-nearest neighbours classifies a new point by looking at the k known points closest to it and taking a vote. There is no model to fit. The only real choice is k.
Sixty known points of two kinds. The orange point is new, and the lines join it to the neighbours that get a vote. Try it: drag the orange point through the gap between the two groups and watch the vote change. Then set k to 1, and to 15.
Figure
What k-NN would say everywhere
Shaded: would be called filled
Unshaded: would be called hollow
Neighbours asked (k)
1
Known points
60
Right on 300 new points
86.0%
Click or tap anywhere on the plot to add a point of the selected kind.
Shaded areas would be called filled, unshaded areas hollow. Try it: start with k = 1 and look for small islands around single points. Raise k and watch them dissolve. Then click to add a few points of the wrong kind inside a region.