generated from LufsX/Experiment-kNN
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ from collections import Counter
|
||||
"""
|
||||
请在这里填写学号和姓名,不填写即成绩无效。
|
||||
"""
|
||||
id = "202210423xxx"
|
||||
name = "test_name"
|
||||
id = "202210423208"
|
||||
name = "刘义天"
|
||||
|
||||
def classify(input_vector, dataSet, labels, k=3):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user