Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-15892][ML] Backport correctly merging AFTAggregators to branch…
… 1.6 ## What changes were proposed in this pull request? This PR backports apache#13619. The original test added in branch-2.0 was failed in branch-1.6. This seems because the behaviour was changed in apache@101663f. This was failure while calculating Euler's number which ends up with a infinity regardless of this path. So, I brought the dataset from `AFTSurvivalRegressionExample` to make sure this is working and then wrote the test. I ran the test before/after creating empty partitions. `model.scale` becomes `1.0` with empty partitions and becames `1.547` without them. After this patch, this becomes always `1.547`. ## How was this patch tested? Unit test in `AFTSurvivalRegressionSuite`. Author: hyukjinkwon <[email protected]> Closes apache#13725 from HyukjinKwon/SPARK-15892-1-6.
- Loading branch information