2222
Gitea Actions Experiment Test / Experiment-Actions (push) Successful in 24s

This commit is contained in:
lzh
2024-10-17 00:21:07 +08:00
parent b409c0ca68
commit 8ad0abd468
-5
View File
@@ -39,9 +39,6 @@ name = "廖子豪"
- int: 预测的分类标签。
"""
# 这里写自己的代码实现
def classify(input_vector, dataSet, labels, k=3):
"""
KNN 分类算法。
@@ -143,5 +140,3 @@ if __name__ == "__main__":
print(f"预测的标签: {predicted_label}")