k-nearest-neighbors
Classify an entity based on its neighbors.
Example:
const KNearestNeighbors = const machine = x: 0 y: 0 class: 'good' x: 10 y: 10 class: 'bad' x: 1 y: 1 class: 'ugly' 'x' 'y'machine// → 'ugly'