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

This commit is contained in:
2024-10-16 00:22:44 +08:00
parent 6a7ca939bc
commit 1d145beebc
+1 -1
View File
@@ -41,7 +41,7 @@ name = "吴俊煯"
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=3):
def classify(input_vector, dataSet, labels, k=4):
"""
KNN 分类算法。