From 981792250c82981c2b17ce43f1fb942085495d64 Mon Sep 17 00:00:00 2001 From: wzy <675163717@qq.com> Date: Sun, 3 Nov 2024 16:19:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20function.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.py b/function.py index 6c86c48..976e31b 100644 --- a/function.py +++ b/function.py @@ -87,7 +87,7 @@ def load_data(filepath): # 检查特征数量 num_features = data.shape[1] - # 特征选择:去掉特征3和特征24~28,确保索引有效 + # 特征选择:去掉特征3和特征24~28,确保索引有效 indices_to_delete = [2] # 特征3 if num_features > 24: # 确保特征数量足够 indices_to_delete += list(range(24, 27)) # 特征24到27