Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-22009][ML] Using treeAggregate improve some algs
## What changes were proposed in this pull request? I test on a dataset of about 13M instances, and found that using `treeAggregate` give a speedup in following algs: |Algs| SpeedUp | |------|-----------| |OneHotEncoder| 5% | |StatFunctions.calculateCov| 7% | |StatFunctions.multipleApproxQuantiles| 9% | |RegressionEvaluator| 8% | ## How was this patch tested? existing tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #19232 from zhengruifeng/use_treeAggregate.
- Loading branch information
1 parent
b21b806
commit a8a5cd2
Showing
4 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters