aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/ml/__init__.py
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2015-05-12 17:15:39 -0700
committerXiangrui Meng <meng@databricks.com>2015-05-12 17:15:39 -0700
commit77f64c736d07a44f64393910d092091e8ba6047a (patch)
treeda012cc94f63c8e1323158ff19f3f6171eb42cc2 /python/pyspark/ml/__init__.py
parent23f7d66d51c8809ebc27bfbce3d95515e9b34c2e (diff)
downloadspark-77f64c736d07a44f64393910d092091e8ba6047a.tar.gz
spark-77f64c736d07a44f64393910d092091e8ba6047a.tar.bz2
spark-77f64c736d07a44f64393910d092091e8ba6047a.zip
[SPARK-7572] [MLLIB] do not import Param/Params under pyspark.ml
Remove `Param` and `Params` from `pyspark.ml` and add a section in the doc. brkyvz Author: Xiangrui Meng <meng@databricks.com> Closes #6094 from mengxr/SPARK-7572 and squashes the following commits: 022abd6 [Xiangrui Meng] do not import Param/Params under spark.ml
Diffstat (limited to 'python/pyspark/ml/__init__.py')
-rw-r--r--python/pyspark/ml/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/pyspark/ml/__init__.py b/python/pyspark/ml/__init__.py
index 47fed80f42..da793d9db7 100644
--- a/python/pyspark/ml/__init__.py
+++ b/python/pyspark/ml/__init__.py
@@ -15,7 +15,6 @@
# limitations under the License.
#
-from pyspark.ml.param import *
-from pyspark.ml.pipeline import *
+from pyspark.ml.pipeline import Transformer, Estimator, Model, Pipeline, PipelineModel, Evaluator
-__all__ = ["Param", "Params", "Transformer", "Estimator", "Pipeline"]
+__all__ = ["Transformer", "Estimator", "Model", "Pipeline", "PipelineModel", "Evaluator"]