generated from LufsX/Experiment-kNN
This commit is contained in:
+3
-3
@@ -25,8 +25,8 @@ import os
|
|||||||
"""
|
"""
|
||||||
请在这里填写学号和姓名,不填写即成绩无效。
|
请在这里填写学号和姓名,不填写即成绩无效。
|
||||||
"""
|
"""
|
||||||
id = "202210423xxx"
|
id = "202210423111"
|
||||||
name = "test_name"
|
name = "李劲"
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@@ -80,7 +80,7 @@ def load_dataset(directory):
|
|||||||
- np.array: 特征数据。
|
- np.array: 特征数据。
|
||||||
- np.array: 标签数据。
|
- np.array: 标签数据。
|
||||||
"""
|
"""
|
||||||
data = []
|
data = []
|
||||||
labels = []
|
labels = []
|
||||||
|
|
||||||
for filename in os.listdir(directory):
|
for filename in os.listdir(directory):
|
||||||
|
|||||||
Reference in New Issue
Block a user