Skip to content
Snippets Groups Projects
  • Davies Liu's avatar
    65083e93
    [SPARK-4324] [PySpark] [MLlib] support numpy.array for all MLlib API · 65083e93
    Davies Liu authored
    This PR check all of the existing Python MLlib API to make sure that numpy.array is supported as Vector (also RDD of numpy.array).
    
    It also improve some docstring and doctest.
    
    cc mateiz mengxr
    
    Author: Davies Liu <davies@databricks.com>
    
    Closes #3189 from davies/numpy and squashes the following commits:
    
    d5057c4 [Davies Liu] fix tests
    6987611 [Davies Liu] support numpy.array for all MLlib API
    65083e93
    History
    [SPARK-4324] [PySpark] [MLlib] support numpy.array for all MLlib API
    Davies Liu authored
    This PR check all of the existing Python MLlib API to make sure that numpy.array is supported as Vector (also RDD of numpy.array).
    
    It also improve some docstring and doctest.
    
    cc mateiz mengxr
    
    Author: Davies Liu <davies@databricks.com>
    
    Closes #3189 from davies/numpy and squashes the following commits:
    
    d5057c4 [Davies Liu] fix tests
    6987611 [Davies Liu] support numpy.array for all MLlib API