You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by ddna1021 <gi...@git.apache.org> on 2018/04/27 08:27:04 UTC

[GitHub] spark pull request #21179: Update StreamingKMeans.scala

GitHub user ddna1021 opened a pull request:

    https://github.com/apache/spark/pull/21179

    Update StreamingKMeans.scala

    ## What changes were proposed in this pull request?
    
    I think the ‘n_t+t’ in the following code may be wrong, it shoud be ‘n_t+1’ that means  is the number of points to the cluster  after it finish the no.t+1 min-batch.
    
     * <blockquote>
     *    $$
     *    \begin{align}
     *     c_t+1 &= [(c_t * n_t * a) + (x_t * m_t)] / [n_t + m_t] \\
     *     n_t+1 &= n_t * a + m_t
     *    \end{align}
     *    $$
     * </blockquote>
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ddna1021/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/21179.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21179
    
----
commit e061dce36220809dd65df6a2da9e47c58e0811e8
Author: Fan Donglai <dd...@...>
Date:   2018-04-27T08:25:30Z

    Update StreamingKMeans.scala

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #21179: Update StreamingKMeans.scala

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/21179


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #21179: Update StreamingKMeans.scala

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21179
  
    Can one of the admins verify this patch?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #21179: Update StreamingKMeans.scala

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/21179
  
    Merged to master


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #21179: Update StreamingKMeans.scala

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/21179
  
    Can one of the admins verify this patch?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #21179: Update StreamingKMeans.scala

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21179
  
    **[Test build #4174 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4174/testReport)** for PR 21179 at commit [`e061dce`](https://github.com/apache/spark/commit/e061dce36220809dd65df6a2da9e47c58e0811e8).
     * This patch passes all tests.
     * This patch **does not merge cleanly**.
     * This patch adds no public classes.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #21179: Update StreamingKMeans.scala

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/21179
  
    **[Test build #4174 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4174/testReport)** for PR 21179 at commit [`e061dce`](https://github.com/apache/spark/commit/e061dce36220809dd65df6a2da9e47c58e0811e8).


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org