Week 2-Lab 1 Collaborative filtering C3_W2

I’ve been trying to the Week 2 practise lab 1 which is collaborative filtering however even after several attempts and variations and even after using the hints I am not able to get my code running. Please help .

Hello @Kasib_Ahmed,

  1. In the future, please post any error Traceback you have seen. If you know it isn’t working, there must be an error or some info that leads you to that conclusion.

  2. We don’t share assignment code, so I removed it.

  3. The hint is to make sure your code is consistent with the formula, and just in case of any confusion, I added brackets so only terms in which are summed over by the summation signs.

Screenshot from 2022-09-30 08-59-39

Good luck @Kasib_Ahmed