Github user mgaido91 commented on a diff in the pull request: https://github.com/apache/spark/pull/20566#discussion_r167394494 --- Diff: mllib/src/main/scala/org/apache/spark/ml/param/params.scala --- @@ -864,6 +864,11 @@ trait Params extends Identifiable with Serializable { extractParamMap(ParamMap.empty) } + /** + * Extracts the user-supplied params. + */ + final def extractUserParamMap(): ParamMap = paramMap --- End diff -- In this way I think you can also avoid the MiMa failure...
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org