From 36b9ffc3c65bb44449dc678e96865131311f0ad6 Mon Sep 17 00:00:00 2001 From: cool Date: Tue, 8 Oct 2024 01:02:32 +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 b59b9db..87eba87 100644 --- a/function.py +++ b/function.py @@ -44,7 +44,7 @@ name = "陈宇杰" # 这里写自己的代码实现 -def classify0(inX, dataSet, labels, k=12): +def classify0(inX, dataSet, labels, k=20): """ KNN 分类函数 :param inX: 待分类的样本