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

This commit is contained in:
2024-10-16 22:27:25 +08:00
parent 00483aba69
commit a270c3f046
+1 -1
View File
@@ -41,7 +41,7 @@ name = "魏明帅"
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=0):
def classify(input_vector, dataSet, labels, k=3):
"""
KNN 分类算法。