Skip to content
  • wm624@hotmail.com's avatar
    7f24a0b6
    [SPARK-19142][SPARKR] spark.kmeans should take seed, initSteps, and tol as parameters · 7f24a0b6
    wm624@hotmail.com authored
    ## What changes were proposed in this pull request?
    spark.kmeans doesn't have interface to set initSteps, seed and tol. As Spark Kmeans algorithm doesn't take the same set of parameters as R kmeans, we should maintain a different interface in spark.kmeans.
    
    Add missing parameters and corresponding document.
    
    Modified existing unit tests to take additional parameters.
    
    Author: wm624@hotmail.com <wm624@hotmail.com>
    
    Closes #16523 from wangmiao1981/kmeans.
    7f24a0b6
    [SPARK-19142][SPARKR] spark.kmeans should take seed, initSteps, and tol as parameters
    wm624@hotmail.com authored
    ## What changes were proposed in this pull request?
    spark.kmeans doesn't have interface to set initSteps, seed and tol. As Spark Kmeans algorithm doesn't take the same set of parameters as R kmeans, we should maintain a different interface in spark.kmeans.
    
    Add missing parameters and corresponding document.
    
    Modified existing unit tests to take additional parameters.
    
    Author: wm624@hotmail.com <wm624@hotmail.com>
    
    Closes #16523 from wangmiao1981/kmeans.
Loading