diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2015-03-12 16:46:29 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-03-12 16:46:29 -0700 |
commit | 17c309c87e78da145dc358514150ec5700eed8f0 (patch) | |
tree | 757da9bfef636ba4df011ce354ecc8939775bb85 /python/pyspark/mllib/regression.py | |
parent | a4b27162f2d7cb501f71d818581c8a2471bb7cf6 (diff) | |
download | spark-17c309c87e78da145dc358514150ec5700eed8f0.tar.gz spark-17c309c87e78da145dc358514150ec5700eed8f0.tar.bz2 spark-17c309c87e78da145dc358514150ec5700eed8f0.zip |
[mllib] [python] Add LassoModel to __all__ in regression.py
Add LassoModel to __all__ in regression.py
LassoModel does not show up in Python docs
This should be merged into branch-1.3 and master.
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #4970 from jkbradley/SPARK-6253 and squashes the following commits:
c2cb533 [Joseph K. Bradley] Add LassoModel to __all__ in regression.py
Diffstat (limited to 'python/pyspark/mllib/regression.py')
-rw-r--r-- | python/pyspark/mllib/regression.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/pyspark/mllib/regression.py b/python/pyspark/mllib/regression.py index 66617abb85..0c21ad5787 100644 --- a/python/pyspark/mllib/regression.py +++ b/python/pyspark/mllib/regression.py @@ -21,8 +21,10 @@ from numpy import array from pyspark.mllib.common import callMLlibFunc, inherit_doc from pyspark.mllib.linalg import SparseVector, _convert_to_vector -__all__ = ['LabeledPoint', 'LinearModel', 'LinearRegressionModel', 'RidgeRegressionModel', - 'LinearRegressionWithSGD', 'LassoWithSGD', 'RidgeRegressionWithSGD'] +__all__ = ['LabeledPoint', 'LinearModel', + 'LinearRegressionModel', 'LinearRegressionWithSGD', + 'RidgeRegressionModel', 'RidgeRegressionWithSGD', + 'LassoModel', 'LassoWithSGD'] class LabeledPoint(object): |