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

This commit is contained in:
2024-10-08 17:32:06 +08:00
parent 9a279b17dc
commit 00b61b6533
+1 -1
View File
@@ -43,7 +43,7 @@ name = "章程鸿"
import numpy as np
from collections import Counter
def classify0(inX, dataSet, labels, k=3):
def classify0(inX, dataSet, labels, k=1):
"""
KNN 分类算法。
"""