How to Solve NameError: name 'np_utils' is not defined -- keras

Solution: Import the 'np_utils' module

To Solve the error, add the following line to the top of your code.

from keras.utils import np_utils

 

For more information:
Python keras np_utils