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

This commit is contained in:
2024-10-10 16:19:21 +08:00
parent e1d57186c3
commit 2a44931a2e
+1 -1
View File
@@ -6,7 +6,7 @@ qin
id = "202210423206"
name = "詹宇豪"
def classify0(inX, dataSet, labels, k=3):
def classify0(inX, dataSet, labels, k=1):
"""
KNN 分类算法。