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

    https://github.com/apache/spark/pull/5707#discussion_r30451832
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -17,13 +17,14 @@
     
     import sys
     import numpy as np
    +import scipy.sparse as sp
     import warnings
     
     if sys.version > '3':
         xrange = range
     
     from pyspark.mllib.common import callMLlibFunc, inherit_doc
    -from pyspark.mllib.linalg import Vectors, SparseVector, _convert_to_vector
    +from pyspark.mllib.linalg import Vector, Vectors, DenseVector, 
SparseVector, _convert_to_vector
    --- End diff --
    
    Do you need to import DenseVector?


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