aboutsummaryrefslogtreecommitdiff
path: root/external/java8-tests
diff options
context:
space:
mode:
authorZheng RuiFeng <ruifengz@foxmail.com>2016-05-27 21:57:41 -0500
committerSean Owen <sowen@cloudera.com>2016-05-27 21:57:41 -0500
commit9893dc975784551a62f65bbd709f8972e0204b2a (patch)
tree1706b1efab6def3bbcd4d90acc2c0acdfe75eccc /external/java8-tests
parent88c9c467a31630c558719679ca0894873a268b27 (diff)
downloadspark-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 'external/java8-tests')
0 files changed, 0 insertions, 0 deletions