C3-W2 Collaborative Filtering Recommender System Lab

I have run my program code, everything working perfectly also i am getting the same output as the expected output given in the assignment.
Then too i am not able to submit the assignment, it is failing my submission.

It is showing “Code Cell UNQ_C1 failed: cofi_cost_func test 1 failed
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”

You need to make sure the function runs for a variety of tests that the grader will perform when being submitted, and these may be different from the unit tests when running it as you work on the notebook.

Things to pay special attention to are hard-coding variables…