You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/05/19 06:41:04 UTC

[jira] [Commented] (SPARK-20805) updated updateP in SVD++ is error

    [ https://issues.apache.org/jira/browse/SPARK-20805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016969#comment-16016969 ] 

Sean Owen commented on SPARK-20805:
-----------------------------------

This is hard to understand [~BoLing]. Can you open a PR with the proposed change, and explain the effect of the problem more clearly?

> 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: 1.6.1, 2.1.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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org