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

    https://github.com/apache/spark/pull/20070#discussion_r159062426
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/ml/VectorIndexerExample.scala 
---
    @@ -41,8 +41,8 @@ object VectorIndexerExample {
         val indexerModel = indexer.fit(data)
     
         val categoricalFeatures: Set[Int] = 
indexerModel.categoryMaps.keys.toSet
    -    println(s"Chose ${categoricalFeatures.size} categorical features: " +
    -      categoricalFeatures.mkString(", "))
    +    println(s"Chose ${categoricalFeatures.size} " +
    +      s"categorical features: {$categoricalFeatures.mkString(", ")}")
    --- End diff --
    
    Typo here. Please make sure build/test/style passes locally before pushing 
again, or else this takes a lot of work to review.


---

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

Reply via email to