diff --git a/function.py b/function.py index 3759c1a..b2d1e2b 100644 --- a/function.py +++ b/function.py @@ -129,7 +129,7 @@ def load_data(filepath): row[22] = 0 # 移除不需要的特征 - # 假设特征从0开始编号,那么我们需要移除特征3(索引为2)和特征24~28 + # 假设特征从0开始编号,那么我们需要移除特征3和特征24~28 data = [row[:2] + row[3:23] + row[28:] for row in data] # 分离特征和标签