From bf2ff4ab8a9e904eb8e087c577b751f501bc40e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=9D=A8=E6=B4=8B?= <2445091977@qq.com> Date: Thu, 17 Oct 2024 00:06:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20function.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.py | 1 + 1 file changed, 1 insertion(+) diff --git a/function.py b/function.py index a872187..ee5d019 100644 --- a/function.py +++ b/function.py @@ -41,6 +41,7 @@ name = "吴杨洋" + def classify(input_vector, dataSet, labels, k=3): """ KNN 分类算法。