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

This commit is contained in:
fox
2024-11-03 19:36:24 +08:00
parent 92beb95e5e
commit 01617c1ded
+1 -1
View File
@@ -89,7 +89,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)))