Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7290#discussion_r34156607
  
    --- Diff: python/pyspark/mllib/linalg.py ---
    @@ -458,7 +459,9 @@ def __init__(self, size, *args):
                     pairs = pairs.items()
                 pairs = sorted(pairs)
                 self.indices = np.array([p[0] for p in pairs], dtype=np.int32)
    +            """ The list of index corresponding to non-zero entries. """
                 self.values = np.array([p[1] for p in pairs], dtype=np.float64)
    +            """ The list of non-zero entries. """
    --- End diff --
    
    `A list of values corresponding to active entries.`


---
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]

Reply via email to