Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPARK-3803 [MLLIB] ArrayIndexOutOfBoundsException found in executing …
…computePrincipalComponents Avoid overflow in computing n*(n+1)/2 as much as possible; throw explicit error when Gramian computation will fail due to negative array size; warn about large result when computing Gramian too Author: Sean Owen <[email protected]> Closes apache#2801 from srowen/SPARK-3803 and squashes the following commits: b4e6d92 [Sean Owen] Avoid overflow in computing n*(n+1)/2 as much as possible; throw explicit error when Gramian computation will fail due to negative array size; warn about large result when computing Gramian too
- Loading branch information