Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spark18045][MLlib]updated the information sending to usr._2 #18045

Closed
wants to merge 1 commit into from

Conversation

NewBoLing
Copy link

I think updated information of updateY incorrectly send to source vertice. the original code like the below.
ctx.sendToSrc((updateP, updateY, (err - conf.gamma6 * usr._3) * conf.gamma1))
In fact, usr._2 store pu + |N(u)|^(-0.5)*sum(y).
we have already updated the part of y in usr._2 through sending the message to destination vertex, and this method will effect the part of y in usr._2,
but the part of pu is never updated. so we should send updateP to source vertex not updateY.

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please review http://spark.apache.org/contributing.html before opening a pull request.

I think updated information of updateY incorrectly send to source vertice. the original code like the below.
      ctx.sendToSrc((updateP, updateY, (err - conf.gamma6 * usr._3) * conf.gamma1))
      In fact, usr._2 store pu + |N(u)|^(-0.5)*sum(y).  
      we have already updated the part of y in usr._2 through sending the message to destination vertex, and this method will effect the part of y in usr._2,
      but the part of pu is never updated. so we should send updateP to source vertex not updateY.
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@srowen
Copy link
Member

srowen commented May 20, 2017

Please read http://spark.apache.org/contributing.html and fix the title
Does it make sense to send updateP twice?
Maybe @ankurdave can return to comment

@NewBoLing NewBoLing changed the title Update SVDPlusPlus.scala updated the information sending to usr._2 May 23, 2017
@NewBoLing NewBoLing changed the title updated the information sending to usr._2 [Spark18045][MLlib]updated the information sending to usr._2 May 24, 2017
@srowen srowen mentioned this pull request Jun 7, 2017
@asfgit asfgit closed this in b771fed Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants