Advertisement
Guest User

did i do it right?

a guest
Nov 13th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. for index in range(x_training.shape[0]):
  2. if get_emotion(y_training[index, :]) == "sad" or get_emotion(y_training[index, :]) == "happy":
  3. emoX_training = x_training[index, :]
  4. emoY_training = y_training[index, :]
  5. for index in range(x_testing.shape[0]):
  6. if get_emotion(y_testing[index, :]) == "sad" or get_emotion(y_testing[index, :]) == "happy":
  7. emoX_testing = x_testing[index, :]
  8. emoY_testing = y_testing[index, :]
  9.  
  10. print(emoX_training.shape)
  11. print(emoY_training.shape)
  12.  
  13. print(emoX_testing.shape)
  14. print(emoY_testing.shape)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement