Skip to content

Instantly share code, notes, and snippets.

@shayaf84
Last active September 14, 2021 03:49
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 shayaf84/d1852e1201cb369f4a474ad3d48791c2 to your computer and use it in GitHub Desktop.
Save shayaf84/d1852e1201cb369f4a474ad3d48791c2 to your computer and use it in GitHub Desktop.
X = data.drop(["Class","Time"],axis=1).values
y = data["Class"].values
X_train_Before, X_test, y_train_Before, y_test = train_test_split(
X, y, test_size = 0.3,
random_state = 42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment