Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for index in range(x_training.shape[0]):
- if get_emotion(y_training[index, :]) == "sad" or get_emotion(y_training[index, :]) == "happy":
- emoX_training = x_training[index, :]
- emoY_training = y_training[index, :]
- for index in range(x_testing.shape[0]):
- if get_emotion(y_testing[index, :]) == "sad" or get_emotion(y_testing[index, :]) == "happy":
- emoX_testing = x_testing[index, :]
- emoY_testing = y_testing[index, :]
- print(emoX_training.shape)
- print(emoY_training.shape)
- print(emoX_testing.shape)
- print(emoY_testing.shape)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement