You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2015/04/28 03:08:06 UTC

[jira] [Updated] (SPARK-5490) KMeans costs can be incorrect if tasks need to be rerun

     [ https://issues.apache.org/jira/browse/SPARK-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng updated SPARK-5490:
---------------------------------
    Target Version/s:   (was: 1.4.0)

> KMeans costs can be incorrect if tasks need to be rerun
> -------------------------------------------------------
>
>                 Key: SPARK-5490
>                 URL: https://issues.apache.org/jira/browse/SPARK-5490
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.3.0
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>              Labels: clustering
>
> KMeans uses accumulators to compute the cost of a clustering at each iteration.
> Each time a ShuffleMapTask completes, it increments the accumulators at the driver.  If a task runs twice because of failures, the accumulators get incremented twice.
> KMeans uses accumulators in ShuffleMapTasks.  This means that a task's cost can end up being double-counted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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