I am recieving the following auto-grader error:
"
Code Cell UNQ_C1: The value of your variable ‘user_NN’ is correct.
Code Cell UNQ_C1: The value of your variable ‘item_NN’ is correct.
Code Cell UNQ_C2: Unexpected error (NameError(“name ‘d’ is not defined”)) occurred during function check. We expected function sq_dist to return type <class ‘bool’>. Please check that this function is defined properly.
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.
"
The only place in the code where ‘d’ is used is here is in the sq_dist function that is pre-defined by the lab notebook.
Additional information:
The autosave function of the notebook does not work
The notebook is showing an error from the time I first opened it
All my code has passed the tests but I get this error when trying to submit my assignment: Cell #9. Can’t compile the student’s code. Error: TypeError(“unsupported operand type(s) for *: ‘float’ and ‘module’”)What could this error mean? I see it in the code, but it was code that was pre generated for the assignment.
Are you using the Coursera Labs environment, or are you using some other platform?
This is a puzzling issue, because in that assignment (notebook name “C3_W2_RecSysNN_Assignment.ipynb”), there is no user-provided code in the first nine cells. So the grader should not complain, unless you have modified something you ought to have left alone.