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

This commit is contained in:
2024-10-21 18:58:17 +08:00
parent 9b0b2b7569
commit 050c335cf4
+1 -1
View File
@@ -41,7 +41,7 @@ name = "熊浩燃"
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=3):
def classify(input_vector, dataSet, labels, k=1):
"""
KNN 分类算法。