Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 15, 2021 06:31
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 amankharwal/3dfa27f0f6d7c1da0762264202d4f82c to your computer and use it in GitHub Desktop.
Save amankharwal/3dfa27f0f6d7c1da0762264202d4f82c to your computer and use it in GitHub Desktop.
X = train_data.drop(["type"],axis=1)
y = train_data.type
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment