GitHub user marktab opened a pull request: https://github.com/apache/spark/pull/19126
Model 1 and Model 2 ParamMaps Missing The original Scala code says println("Model 2 was fit using parameters: " + model2.parent.extractParamMap) The parent is lr There is no method for accessing parent as is done in Scala. This code has been tested in Python, and returns values consistent with Scala ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) Please review http://spark.apache.org/contributing.html before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/marktab/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19126.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #19126 ---- commit 76e5da7b14d71338cf82352e9cf5628640e732a2 Author: MarkTab marktab.net <mark...@users.noreply.github.com> Date: 2017-09-05T03:26:07Z Model 1 and Model 2 ParamMaps Missing The original Scala code says println("Model 2 was fit using parameters: " + model2.parent.extractParamMap) The parent is lr There is no method for accessing parent as is done in Scala. This code has been tested in Python, and returns values consistent with Scala ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org