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

This commit is contained in:
2024-09-29 11:32:57 +08:00
parent dea23497b1
commit e3bddba8bf
+1 -1
View File
@@ -45,7 +45,7 @@ def euclidean_distance(inX, dataSetRow):
# 这里写自己的代码实现
def classify0(inX, dataSet, labels,k=4):
def classify0(inX, dataSet, labels,k=3):
"""
KNN 分类算法。