diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2015-04-28 21:15:47 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-04-28 21:15:47 -0700 |
commit | a8aeadb7d4a2dc308a75a50fdd8065f9a32ef336 (patch) | |
tree | ba3d476854590712ebbb1b28cdcb49c984f34435 | |
parent | 5c8f4bd5fae539ab5fb992573d5357ed34e2f4d0 (diff) | |
download | spark-a8aeadb7d4a2dc308a75a50fdd8065f9a32ef336.tar.gz spark-a8aeadb7d4a2dc308a75a50fdd8065f9a32ef336.tar.bz2 spark-a8aeadb7d4a2dc308a75a50fdd8065f9a32ef336.zip |
[SPARK-7208] [ML] [PYTHON] Added Matrix, SparseMatrix to __all__ list in linalg.py
Added Matrix, SparseMatrix to __all__ list in linalg.py
CC: mengxr
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #5759 from jkbradley/SPARK-7208 and squashes the following commits:
deb51a2 [Joseph K. Bradley] Added Matrix, SparseMatrix to __all__ list in linalg.py
-rw-r--r-- | python/pyspark/mllib/linalg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pyspark/mllib/linalg.py b/python/pyspark/mllib/linalg.py index cc9a4cf8ba..a57c0b3ae0 100644 --- a/python/pyspark/mllib/linalg.py +++ b/python/pyspark/mllib/linalg.py @@ -39,7 +39,8 @@ from pyspark.sql.types import UserDefinedType, StructField, StructType, ArrayTyp IntegerType, ByteType -__all__ = ['Vector', 'DenseVector', 'SparseVector', 'Vectors', 'DenseMatrix', 'Matrices'] +__all__ = ['Vector', 'DenseVector', 'SparseVector', 'Vectors', + 'Matrix', 'DenseMatrix', 'SparseMatrix', 'Matrices'] if sys.version_info[:2] == (2, 7): |