但它不应该是随机的。我需要拆分火车的前808699行,其余的作为测试?x_train,x_test,y_train,y_test=train_test_split(x,y,train_size=808698,test_size=121918,random_state=1)
ValueError: train_size=808698 should be either positive and smaller than the number of samples 1219
高风险(水中细菌水平高)和低风险(水中细菌含量低),准确性因设置"shuffle=True"(achieved accuracy of around 75%)而异,与在StratifiedKFold中设置"shuffle=False"时不同,如下所示:skf = StratifiedKFold(n_splits=n_folds, shuffle=True)
“滑雪”文件说明如下·