Skip to content

Instantly share code, notes, and snippets.

@gustavoschmoeller
Last active January 11, 2021 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gustavoschmoeller/0dc1a44375299fc5abb6e957c3a2e455 to your computer and use it in GitHub Desktop.
Save gustavoschmoeller/0dc1a44375299fc5abb6e957c3a2e455 to your computer and use it in GitHub Desktop.
# Separando os dados de treino e teste
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.30, random_state=42)
X_train.shape,X_test.shape,y_train.shape,y_test.shape
((255, 29), (110, 29), (255,), (110,))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment