Scikit-learn train_test_split被阻止了

时间:2017-04-02 08:44:26

标签: python machine-learning scikit-learn jupyter

我正在尝试拆分具有此形状的数据框

print(a_X_2g_array.shape)
(31371, 120436)

和具有这种形状的真相系列

 print(a_classes.shape)
 (31371,)

然后我尝试拆分它

X3g_train, X3g_test, y3g_train, y3g_test = train_test_split(a_X_2g_array, a_classes, test_size=0.33, random_state=42)

train_test_split没有结束,jupyter笔记本说内核将重新启动

0 个答案:

没有答案