diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-09-11 08:53:40 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-09-11 08:53:40 -0700 |
commit | 960d2d0ac6b5a22242a922f87f745f7d1f736181 (patch) | |
tree | ff3578f7c6fbfcafe89e41235a8c61ed2d7c6a29 /python/pyspark/ml/feature.py | |
parent | b01b26260625f0ba14e5f3010207666d62d93864 (diff) | |
download | spark-960d2d0ac6b5a22242a922f87f745f7d1f736181.tar.gz spark-960d2d0ac6b5a22242a922f87f745f7d1f736181.tar.bz2 spark-960d2d0ac6b5a22242a922f87f745f7d1f736181.zip |
[SPARK-10537] [ML] document LIBSVM source options in public API doc and some minor improvements
We should document options in public API doc. Otherwise, it is hard to find out the options without looking at the code. I tried to make `DefaultSource` private and put the documentation to package doc. However, since then there exists no public class under `source.libsvm`, the Java package doc doesn't show up in the generated html file (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4492654). So I put the doc to `DefaultSource` instead. There are several minor updates in this PR:
1. Do `vectorType == "sparse"` only once.
2. Update `hashCode` and `equals`.
3. Remove inherited doc.
4. Delete temp dir in `afterAll`.
Lewuathe
Author: Xiangrui Meng <meng@databricks.com>
Closes #8699 from mengxr/SPARK-10537.
Diffstat (limited to 'python/pyspark/ml/feature.py')
0 files changed, 0 insertions, 0 deletions