C3_W2_RecSysNN_Assignment: Exercise 2 Error


I keep encountering an error in Exercise 2 wherein it indicates

NameError: name ‘np’ is not defined

I can’t attach the code here since I think that’s not allowed

This error means that you havent executed the line:

import numpy as np

Go back in the cells upword and run the cell where that line is once again.

1 Like

This resolved the error. Thank you very much!

1 Like