generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -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]
|
||||
|
||||
# 分离特征和标签
|
||||
|
||||
Reference in New Issue
Block a user