From 0cab9916d118f84861d3ebf4d5cf139afef48098 Mon Sep 17 00:00:00 2001 From: yuhaopan <1159526601@qq.com> Date: Tue, 15 Oct 2024 20:50:31 +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 9537624..f6bea09 100644 --- a/function.py +++ b/function.py @@ -37,7 +37,7 @@ name = "潘宇豪" """ -def classifyo(inx, dataSet, labels, k=8, _cache={"VI": None}): +def classify0(inx, dataSet, labels, k=8, _cache={"VI": None}): """ KNN 分类算法,使用缓存优化性能。