对pandas中的数据进行随机抽样
方案1
https://www.jianshu.com/p/5cf2abe4385c
方案2:
https://www.pythonf.cn/read/91137
方案3:
x_train, x_test, y_train, y_test = train_test_split(data, label, test_size=0.15, ramdon_state=0)
方案1
https://www.jianshu.com/p/5cf2abe4385c
方案2:
https://www.pythonf.cn/read/91137
方案3:
x_train, x_test, y_train, y_test = train_test_split(data, label, test_size=0.15, ramdon_state=0)