Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7166#discussion_r34081910
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/clustering/GaussianMixture.scala ---
    @@ -121,6 +124,17 @@ class GaussianMixture private (
        */
       def getConvergenceTol: Double = convergenceTol
     
    +  /**
    +   * Sets indicator for computing Gaussians on driver or executors
    +   */
    +  def setDistributeGaussians(distributeGaussians: Boolean): this.type = {
    --- End diff --
    
    I'm not sure whether we should expose this flag. It should be easy to 
calculate the computation cost and communication cost and decide whether we 
want to distribute the computation. A simple heuristic using a rough estimate 
should work well in practice.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to