guoguibing / librec

LibRec: A Leading Java Library for Recommender Systems, see
https://www.librec.net/
Other
3.24k stars 1.03k forks source link

socialmf好像公式弄错了 #211

Closed murdonson closed 7 years ago

murdonson commented 7 years ago

image

我个人觉得应该是这样啊 -regSocial (userFactors.get(trustedUserIdx, factorIdx) -(trustedValue / numTrusted) sumDiffs[factorIdx] / numTrust) 按照 我那样改后 指标有一点点的提升 对不 亚童?

SunYatong commented 7 years ago

Hi, I checked the reference paper and found that the original implementation is the same with the paper, however your version loses "(trustedValue / numTrusted)" for "userFactors.get(trustedUserIdx, factorIdx)".

As shown in the picture below :

image

murdonson commented 7 years ago

嗯嗯 我搞错了 3q