KNN Hyperparameters
Search for the nearest-neighbor settings that classify data best.
Files stay in this browser tab. Select them again when reopening a draft.
KNN
Hyperparameters
Tune the neighbor count so the nearest points vote for the right class.
Input
xi
Neighbors
k nearest vote
Predicted
class A
Each chromosome encodes (n_neighbors, leaf_size); fitness = accuracy.
Run This Yourself, for Free
Sign in to configure and launch a genetic algorithm against this problem, or bring your own.
Get started