diff --git a/machine_learning/k_nearest_neighbours.py b/machine_learning/k_nearest_neighbors.py similarity index 97% rename from machine_learning/k_nearest_neighbours.py rename to machine_learning/k_nearest_neighbors.py index fbc1b8bd227e..28697dbf890d 100644 --- a/machine_learning/k_nearest_neighbours.py +++ b/machine_learning/k_nearest_neighbors.py @@ -1,5 +1,5 @@ """ -k-Nearest Neighbours (kNN) is a simple non-parametric supervised learning +k-Nearest Neighbors (kNN) is a simple non-parametric supervised learning algorithm used for classification. Given some labelled training data, a given point is classified using its k nearest neighbours according to some distance metric. The most commonly occurring label among the neighbours becomes the label