更新 function.py
Gitea Actions Experiment Test / Experiment-Actions (push) Successful in 18s

This commit is contained in:
2024-10-16 22:23:03 +08:00
parent 6cf21c6f96
commit 572343c1f4
+1 -1
View File
@@ -41,7 +41,7 @@ name = "唐一鸣"
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=1):
def classify(input_vector, dataSet, labels, k=2):
"""
KNN 分类算法。