BoLing created SPARK-20805:
------------------------------

             Summary: updated  updateP in SVD++ is error
                 Key: SPARK-20805
                 URL: https://issues.apache.org/jira/browse/SPARK-20805
             Project: Spark
          Issue Type: Bug
          Components: GraphX
    Affects Versions: 2.1.1, 1.6.1
            Reporter: BoLing


In algorithm svd++, we all known that the usr._2 store the value of  pu + 
|N(u)|^(-0.5)*sum(y); the function sendMsgTrainF compute the updated value of 
updateP,updateQ and updateY. At the beginning,the cycle iteration update the 
part of y in usr._2, but pu is never updated. so we should fix the 
sendMessageToSrcFunction in sendMsgTrainF. the old code is 
ctx.sendToSrc((updateP, updateY, (err - conf.gamma6 * usr._3) * conf.gamma1)). 
if we fix like that ctx.sendToSrc((updateP, updateP, (err - conf.gamma6 * 
usr._3) * conf.gamma1)), it maybe arrive the effect we want.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to