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

This commit is contained in:
aaa
2024-11-03 21:59:26 +08:00
parent d4bcdd902a
commit d01063dbf2
+1 -1
View File
@@ -65,7 +65,7 @@ def load_data(filepath):
labels = np.array(labels) labels = np.array(labels)
num_features = data.shape[1] num_features = data.shape[1]
indices_to_remove = [2] # 去掉特征3(索引2) indices_to_remove = [2]
if num_features > 23: if num_features > 23:
indices_to_remove.extend(range(23, min(28, num_features))) indices_to_remove.extend(range(23, min(28, num_features)))