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

This commit is contained in:
2024-11-03 20:23:12 +08:00
parent b9b391dec7
commit b9a4aa7f01
+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] # 去掉特征3(索引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)))