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

This commit is contained in:
2024-10-07 23:41:51 +08:00
parent dde6d9f766
commit 9d2f52e87c
+1 -1
View File
@@ -80,7 +80,7 @@ def load_data(file_path):
return features, labels
def classify0(inX, dataSet, labels, k=3):
def classify0(inX, dataSet, labels, k=1):
"""
调用 knn_classify 函数进行分类。
"""