#11




Re: SGD Movie rating example
You get such terms with and . The coefficients of these terms are indeed and (for ). All you need is to evaluate these partial derivatives, which is straightforward.
__________________
Where everyone thinks alike, no one thinks very much 
#12




Re: SGD Movie rating example
So is array size of i*j*2K containing real numbers ? (I mean when I try to compute it) And after computing we can update such that: new using here K from So it will be the sum of two 1*K dimensional vectors. Using the same logic for and repeat the loop untill error reach his global minimum. Think that I miss something again 
#13




Re: SGD Movie rating example
When you consider one rating at a time, which you do when you use SGD, then and will be fixed and you have only variables.
__________________
Where everyone thinks alike, no one thinks very much 
#14




Re: SGD Movie rating example
Thanks a lot, Professor !
Actually I finish this example But I dont have a real data, so just create some by random. My rating is array size of 20*20 integer numbers from 1 to 5, U an V is 20*4 real numbers between 0 and 1. I know that it is impossible to learn something from random data, but thats my for 1000 iterations and 
Thread Tools  
Display Modes  

