KNN Neighborhood Explorer
Watch k, distance metric and feature scaling reshape a k-nearest-neighbour decision boundary.
- k-NN
- decision boundary
- scaling
- bias-variance
Preparing the simulation…
Watch k, distance metric and feature scaling reshape a k-nearest-neighbour decision boundary.
Patient #0 is truly benign. Averaging the 9 nearest neighbors in 20 dimensions gives a predicted probability of 0.111 (cohort prevalence: 0.217).