f5e10a34e6
## What changes were proposed in this pull request? add overflow check in PCA, otherwise it is possible to throw `NegativeArraySizeException` when `k` and `numFeatures` are too large. The overflow checking formula is here: https://github.com/scalanlp/breeze/blob/master/math/src/main/scala/breeze/linalg/functions/svd.scala#L87 ## How was this patch tested? N/A Author: WeichenXu <weichen.xu@databricks.com> Closes #19078 from WeichenXu123/SVD_overflow_check. |
||
---|---|---|
.. | ||
src | ||
pom.xml |