generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user