spark-instrumented-optimizer/python/pyspark/mllib
MechCoder 4436e26e43 [SPARK-7328] [MLLIB] [PYSPARK] Pyspark.mllib.linalg.Vectors: Missing items
Add
1. Class methods squared_dist
3. parse
4. norm
5. numNonzeros
6. copy

I made a few vectorizations wrt squared_dist and dot as well. I have added support for SparseMatrix serialization in a separate PR (https://github.com/apache/spark/pull/5775) and plan to complete support for Matrices in another PR.

Author: MechCoder <manojkumarsivaraj334@gmail.com>

Closes #5872 from MechCoder/local_linalg_api and squashes the following commits:

a8ff1e0 [MechCoder] minor
ce3e53e [MechCoder] Add error message for parser
1bd3c04 [MechCoder] Robust parser and removed unnecessary methods
f779561 [MechCoder] [SPARK-7328] Pyspark.mllib.linalg.Vectors: Missing items

(cherry picked from commit 347a329a36)
Signed-off-by: Joseph K. Bradley <joseph@databricks.com>
2015-05-07 14:02:18 -07:00
..
stat [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
__init__.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
classification.py [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00
clustering.py [SPARK-6612] [MLLIB] [PYSPARK] Python KMeans parity 2015-05-05 07:57:47 -07:00
common.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
evaluation.py [SPARK-6093] [MLLIB] Add RegressionMetrics in PySpark/MLlib 2015-05-07 11:18:38 -07:00
feature.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
fpm.py [SPARK-6827] [MLLIB] Wrap FPGrowthModel.freqItemsets and make it consistent with Java API 2015-04-22 17:22:26 -07:00
linalg.py [SPARK-7328] [MLLIB] [PYSPARK] Pyspark.mllib.linalg.Vectors: Missing items 2015-05-07 14:02:18 -07:00
rand.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
recommendation.py [SPARK-6257] [PYSPARK] [MLLIB] MLlib API missing items in Recommendation 2015-04-30 23:51:00 -07:00
regression.py [SPARK-6267] [MLLIB] Python API for IsotonicRegression 2015-05-05 22:57:46 -07:00
tests.py [SPARK-7328] [MLLIB] [PYSPARK] Pyspark.mllib.linalg.Vectors: Missing items 2015-05-07 14:02:18 -07:00
tree.py [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00
util.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00