GitHub user masterwugui opened a pull request: https://github.com/apache/spark/pull/18237
Create JavaRegressionMetricsExample.java the original code cant visit the last element of the"parts" array. so the v[v.lengthâ1] always equals 0 ## 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/masterwugui/spark patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18237.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 #18237 ---- commit 17dacda9f625dc969e6a22e8daacae3fb7e7bcea Author: junzhi lu <452756...@qq.com> Date: 2017-06-08T06:43:42Z Create JavaRegressionMetricsExample.java the original code cant visit the last element of the"parts" array. so the v[v.lengthâ1] always equals 0 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org