Github user mgaido91 commented on the issue:

    https://github.com/apache/spark/pull/22087
  
    @erikerlandson @srowen actually we already have a `PredictionModel` for 
this.  am not sure why clustering algorithms are not extending it though, but 
in that class the method returns a `Double`, not an `Int`. We can explore the 
feasibility of making clustering algorithms predictors too I think.


---

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

Reply via email to