diff options
author | Yuhao Yang <hhbyyh@gmail.com> | 2015-06-03 13:15:57 +0200 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-06-03 13:15:57 +0200 |
commit | 28dbde3874ccdd44b73675938719b69336d23dac (patch) | |
tree | 448b051d7a8fd5be4256b71d35203d9d64aca831 /.rat-excludes | |
parent | d38cf217e0c6bfbf451c659675280b43a08bc70f (diff) | |
download | spark-28dbde3874ccdd44b73675938719b69336d23dac.tar.gz spark-28dbde3874ccdd44b73675938719b69336d23dac.tar.bz2 spark-28dbde3874ccdd44b73675938719b69336d23dac.zip |
[SPARK-7983] [MLLIB] Add require for one-based indices in loadLibSVMFile
jira: https://issues.apache.org/jira/browse/SPARK-7983
Customers frequently use zero-based indices in their LIBSVM files. No warnings or errors from Spark will be reported during their computation afterwards, and usually it will lead to wired result for many algorithms (like GBDT).
add a quick check.
Author: Yuhao Yang <hhbyyh@gmail.com>
Closes #6538 from hhbyyh/loadSVM and squashes the following commits:
79d9c11 [Yuhao Yang] optimization as respond to comments
4310710 [Yuhao Yang] merge conflict
96460f1 [Yuhao Yang] merge conflict
20a2811 [Yuhao Yang] use require
6e4f8ca [Yuhao Yang] add check for ascending order
9956365 [Yuhao Yang] add ut for 0-based loadlibsvm exception
5bd1f9a [Yuhao Yang] add require for one-based in loadLIBSVM
Diffstat (limited to '.rat-excludes')
0 files changed, 0 insertions, 0 deletions