标签: jupyter-notebook
test_split 随机输入种子
种子(20) train_x = data.drop(['Attrition'],axis = 1) train_y =数据['损耗']
X,test_x,test_y = train_test_split(train_x,train_y,test_size = 0.3,random_state = 20) len(test_x)