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

This commit is contained in:
2024-10-23 19:08:48 +08:00
parent 658256c822
commit 7b334bcc28
+1 -1
View File
@@ -41,7 +41,7 @@ name = "李煜锋"
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=3):
def classify(input_vector, dataSet, labels, k=2):
"""
KNN 分类算法。