diff options
author | zero323 <zero323@users.noreply.github.com> | 2016-08-14 11:59:24 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-14 11:59:24 +0100 |
commit | 0ebf7c1bff736cf54ec47957d71394d5b75b47a7 (patch) | |
tree | 4bc4aa60b1254db1af2aaa8981e4eac486fe0973 /dev/checkstyle-suppressions.xml | |
parent | cdaa562c9a09e2e83e6df4e84d911ce1428a7a7c (diff) | |
download | spark-0ebf7c1bff736cf54ec47957d71394d5b75b47a7.tar.gz spark-0ebf7c1bff736cf54ec47957d71394d5b75b47a7.tar.bz2 spark-0ebf7c1bff736cf54ec47957d71394d5b75b47a7.zip |
[SPARK-17027][ML] Avoid integer overflow in PolynomialExpansion.getPolySize
## What changes were proposed in this pull request?
Replaces custom choose function with o.a.commons.math3.CombinatoricsUtils.binomialCoefficient
## How was this patch tested?
Spark unit tests
Author: zero323 <zero323@users.noreply.github.com>
Closes #14614 from zero323/SPARK-17027.
Diffstat (limited to 'dev/checkstyle-suppressions.xml')
0 files changed, 0 insertions, 0 deletions