SHARE
TWEET

Untitled

a guest Jun 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from sklearn.model_selection import train_test_split
  2. x = [k for k in range(0, 10)]
  3. y = [k for k in range(0, 10)]
  4. x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.4, random_state=11)
  5. print (x_train)
  6. x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.4, random_state=11)
  7. print (x_train)
  8. x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.4, random_state=11)
  9. print (x_train)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top