You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an error on this line
train_x, test_x, train_y, test_y = train_test_split(features, labels, test_size=0.3, random_state=0)
they said
ValueError: With n_samples=0, test_size=0.3 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
How can I solve this?
The text was updated successfully, but these errors were encountered:
I had an error on this line
train_x, test_x, train_y, test_y = train_test_split(features, labels, test_size=0.3, random_state=0)
they said
ValueError: With n_samples=0, test_size=0.3 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
How can I solve this?
The text was updated successfully, but these errors were encountered: