Joseph K. Bradley created SPARK-9198:
----------------------------------------
Summary: Typo in PySpark SparseVector docs (bad index)
Key: SPARK-9198
URL: https://issues.apache.org/jira/browse/SPARK-9198
Project: Spark
Issue Type: Documentation
Components: Documentation, MLlib, PySpark
Affects Versions: 1.4.1, 1.3.1, 1.2.2, 1.1.1, 1.0.2, 1.5.0
Reporter: Joseph K. Bradley
Assignee: Joseph K. Bradley
Priority: Minor
Several places in the PySpark SparseVector docs have one defined as:
{code}
SparseVector(4, [2, 4], [1.0, 2.0])
{code}
The index 4 goes out of bounds (but this is not checked).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]