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

This commit is contained in:
zhe
2024-10-23 11:35:42 +08:00
parent c0ea0d5883
commit f89c9a36c1
+1 -1
View File
@@ -41,7 +41,7 @@ name = "李劲"
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=2):
def classify(input_vector, dataSet, labels, k=1):
"""
KNN 分类算法。
"""