From edea3d68cfa6cc87cd0b0c9bf76808f2f1623488 Mon Sep 17 00:00:00 2001 From: wujunjie <297081150@qq.com> Date: Thu, 26 Sep 2024 10:38:41 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.py b/function.py index a694402..f36dc13 100644 --- a/function.py +++ b/function.py @@ -38,7 +38,7 @@ name = "吴俊煯" # 这里写自己的代码实现 -def classify0(inX, dataSet, labels,k=4): +def classify0(inX, dataSet, labels,k=7): """ KNN 分类算法。