Hi, @hubort.
new_y_train is a global variable defined in exercise 3 (right after one_hot_matrix_test). Make sure you ran that cell.
new_y_train
one_hot_matrix_test
If it’s not there, you may have to update your notebook.
Good luck