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

This commit is contained in:
cy
2024-10-15 19:40:44 +08:00
parent a8c71716b4
commit 4b4a872637
+1 -1
View File
@@ -28,7 +28,7 @@ id = "202210423117"
name = "程悦"
def classify(input_vector, dataSet, labels, k=3):
def classify(input_vector, dataSet, labels, k=2):
"""
KNN 分类算法。