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