Skip to content

Instantly share code, notes, and snippets.

@wibowotangara
Created January 23, 2024 09:18
Show Gist options
  • Save wibowotangara/5366432d22cc97b4a324284cafa7c07f to your computer and use it in GitHub Desktop.
Save wibowotangara/5366432d22cc97b4a324284cafa7c07f to your computer and use it in GitHub Desktop.
from sklearn.model_selection import train_test_split
X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size=0.2, random_state=42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment