Github user zhengruifeng commented on the issue:

    https://github.com/apache/spark/pull/22087
  
    Sounds good to design a universal prediction model as a super-class. 
    BTW, I think we can also create a new class `ProbabilisticPredictionModel` 
(as a subclass of `PredictionModel`), so that we can let soft-clustering model 
extends it to expose method `predictProbability`.


---

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

Reply via email to