From 1aa90552a21ecd22e1861128078cd4c0294a6b9e Mon Sep 17 00:00:00 2001 From: LuisMelendez Date: Wed, 1 Oct 2025 23:08:09 -0600 Subject: [PATCH] Update and rename k_nearest_neighbours.py to k_nearest_neighbors.py --- .../{k_nearest_neighbours.py => k_nearest_neighbors.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename machine_learning/{k_nearest_neighbours.py => k_nearest_neighbors.py} (97%) 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