Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do you divide the data set like this? #33

Open
Cds3851 opened this issue Apr 5, 2020 · 1 comment
Open

Why do you divide the data set like this? #33

Cds3851 opened this issue Apr 5, 2020 · 1 comment

Comments

@Cds3851
Copy link

Cds3851 commented Apr 5, 2020

X_train, X_test, y_train, y_test = train_test_split(images, labels, test_size=0.3, random_state=random.randint(0, 100))
X_valid, X_test, y_valid, y_test = train_test_split(images, labels, test_size=0.5, random_state=random.randint(0, 100))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Cds3851 and others