diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-05-27 21:57:41 -0500 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-05-27 21:57:41 -0500 |
commit | 9893dc975784551a62f65bbd709f8972e0204b2a (patch) | |
tree | 1706b1efab6def3bbcd4d90acc2c0acdfe75eccc /licenses/LICENSE-jquery.txt | |
parent | 88c9c467a31630c558719679ca0894873a268b27 (diff) | |
download | spark-9893dc975784551a62f65bbd709f8972e0204b2a.tar.gz spark-9893dc975784551a62f65bbd709f8972e0204b2a.tar.bz2 spark-9893dc975784551a62f65bbd709f8972e0204b2a.zip |
[SPARK-15610][ML] update error message for k in pca
## What changes were proposed in this pull request?
Fix the wrong bound of `k` in `PCA`
`require(k <= sources.first().size, ...` -> `require(k < sources.first().size`
BTW, remove unused import in `ml.ElementwiseProduct`
## How was this patch tested?
manual tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #13356 from zhengruifeng/fix_pca.
Diffstat (limited to 'licenses/LICENSE-jquery.txt')
0 files changed, 0 insertions, 0 deletions