Raise K to Include Every Row
Setup: Run the preloaded table with the query point (3, 7) and K = 3. The predicted value is about 43.33, using the targets 55, 45, and 30 from P5, P3, and P4.
Action: Change K from 3 to 5, which includes all five training rows, and press Calculate Prediction again.
What to Observe: The prediction becomes 57 because all five target values are now averaged. Compare this with 43.33 from the first run, where only the three nearest rows were used.
Takeaway: As K grows, more training points influence the prediction. When K equals the number of training rows, every target is included, so the query point no longer affects which rows are selected and the prediction becomes the overall mean target value.