Implementation of collaborative filtering without TensorFlow

In the lectures, implementation of collaborative filtering using TensorFlow is promoted.
I was trying to figure out the derivatives myself in order to implement the algorithm without using TensorFlow ( to develop better understanding)

This is the cost function for collaborative filtering -

And these are the updation steps -

Can anyone check if I computed these partial derivatives right?

Hello @Shashwat_Gupta1,

These two summation signs should be gone:

image

Cheers,
Raymond

1 Like

Thank you, Raymond!

You are welcome, @Shashwat_Gupta1! Keep trying to work things out yourself. This makes the knowledge yours :wink:

Cheers,
Raymond