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

    https://github.com/apache/spark/pull/4986#discussion_r27068176
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/clustering/GaussianMixtureModel.scala
 ---
    @@ -41,10 +47,16 @@ import org.apache.spark.rdd.RDD
     @Experimental
     class GaussianMixtureModel(
       val weights: Array[Double], 
    -  val gaussians: Array[MultivariateGaussian]) extends Serializable {
    +  val gaussians: Array[MultivariateGaussian]) extends Serializable with 
Saveable{
       
       require(weights.length == gaussians.length, "Length of weight and 
Gaussian arrays must match")
    -  
    +
    +  override protected def formatVersion = "1.0"
    +
    +  override def save(sc: SparkContext, path: String) : Unit = {
    --- End diff --
    
    remove the space before `:`


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to