diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2015-07-20 16:49:55 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-07-20 16:49:55 -0700 |
commit | a5d05819afcc9b19aeae4817d842205f32b34335 (patch) | |
tree | 211255b9c70ba59138a342d076b823067bf697d2 /LICENSE | |
parent | a1064df0ee3daf496800be84293345a10e1497d9 (diff) | |
download | spark-a5d05819afcc9b19aeae4817d842205f32b34335.tar.gz spark-a5d05819afcc9b19aeae4817d842205f32b34335.tar.bz2 spark-a5d05819afcc9b19aeae4817d842205f32b34335.zip |
[SPARK-9198] [MLLIB] [PYTHON] Fixed typo in pyspark sparsevector doc tests
Several places in the PySpark SparseVector docs have one defined as:
```
SparseVector(4, [2, 4], [1.0, 2.0])
```
The index 4 goes out of bounds (but this is not checked).
CC: mengxr
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #7541 from jkbradley/sparsevec-doc-typo-fix and squashes the following commits:
c806a65 [Joseph K. Bradley] fixed doc test
e2dcb23 [Joseph K. Bradley] Fixed typo in pyspark sparsevector doc tests
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions