Guest User

Untitled

a guest
Nov 14th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. y_train_ohe = pd.get_dummies(y_train.reset_index(drop=True)).as_matrix()
  2. y_val_ohe = pd.get_dummies(y_val.reset_index(drop=True)).as_matrix()
  3. y_test_ohe = pd.get_dummies(y_test.reset_index(drop=True)).as_matrix()
  4.  
  5. y_train_ohe.shape, y_test_ohe.shape, y_val_ohe.shape
Add Comment
Please, Sign In to add comment