-
- Downloads
[SPARK-4324] [PySpark] [MLlib] support numpy.array for all MLlib API
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
Showing
- python/pyspark/mllib/classification.py 8 additions, 5 deletionspython/pyspark/mllib/classification.py
- python/pyspark/mllib/feature.py 24 additions, 7 deletionspython/pyspark/mllib/feature.py
- python/pyspark/mllib/random.py 43 additions, 2 deletionspython/pyspark/mllib/random.py
- python/pyspark/mllib/recommendation.py 3 additions, 3 deletionspython/pyspark/mllib/recommendation.py
- python/pyspark/mllib/regression.py 10 additions, 5 deletionspython/pyspark/mllib/regression.py
- python/pyspark/mllib/stat.py 15 additions, 1 deletionpython/pyspark/mllib/stat.py
- python/pyspark/mllib/util.py 2 additions, 9 deletionspython/pyspark/mllib/util.py
Loading
Please register or sign in to comment