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

    https://github.com/apache/spark/pull/20633#discussion_r175961795
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/param/params.scala ---
    @@ -791,7 +791,7 @@ trait Params extends Identifiable with Serializable {
        *               this method gets called.
        * @param value  the default value
        */
    -  protected final def setDefault[T](param: Param[T], value: T): this.type 
= {
    +  private[ml] final def setDefault[T](param: Param[T], value: T): 
this.type = {
    --- End diff --
    
    We should leave this as protected.  It's important that 3rd-party libraries 
be able to extend MLlib APIs, and this is one they need.


---

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

Reply via email to