Paper-Implementation-Matrix-Factorization-Recommender-Systems-Netflix icon indicating copy to clipboard operation
Paper-Implementation-Matrix-Factorization-Recommender-Systems-Netflix copied to clipboard

i can not understand why you do like this ,my god !!

Open xiaoli20190810 opened this issue 4 years ago • 0 comments

mse = self.mse()

...... def mse(self): ................... return np.sqrt(error) ???

x = [x for x, y in training_process] y = [y for x, y in training_process] x = x[::10] y = y[::10] plt.figure(figsize=((16,4))) plt.plot(x, np.sqrt(y)) ????

print("\nFinding Error on test set...\n") msef=0.0 for i1 in range(len(i)): for i2 in range(len(j)): if R1.item(i[i1],j[i2])!=0: msef = msef + (R1.item((i[i1],j[i2]))-(L).item((i[i1],j[i2])))2 msef = (msef/(len(j)*len(i))) ???? print("RMSE f=",msef0.5)

xiaoli20190810 avatar May 23 '20 03:05 xiaoli20190810