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

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