Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/20566#discussion_r167394422 --- 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 -- Either way are good for me.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org