ValueError train_test_split函数没有train_target参数
githubPsearth opened this issue · 1 comments
githubPsearth commented
您好,我运行了您的代码,可是出现了
ValueError: With n_samples=0, test_size=0.15 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
错误,请问train_target该设成什么呢
spytensor commented
你的输入为空,检查一下train_split函数的输入