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

    https://github.com/apache/spark/pull/21081#discussion_r182925210
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala 
---
    @@ -120,11 +123,32 @@ class KMeansModel private[ml] (
       @Since("2.0.0")
       def setPredictionCol(value: String): this.type = set(predictionCol, 
value)
     
    +  @Since("2.4.0")
    +  def featureToVector(dataset: Dataset[_], col: Column): Column = {
    --- End diff --
    
    Also, add a Scala docstring saying what this does.


---

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

Reply via email to