GitHub user hhbyyh opened a pull request:
https://github.com/apache/spark/pull/6538
[Spark-7983] [MLlib] add require for one-based in loadLIBSVM
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hhbyyh/spark loadSVM
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6538.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6538
----
commit 5bd1f9a853db4444bbcad9660d5aa951340c576b
Author: Yuhao Yang <[email protected]>
Date: 2015-05-31T11:13:23Z
add require for one-based in loadLIBSVM
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]