diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-05-21 22:57:33 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-05-21 22:57:33 -0700 |
commit | 8f11c6116bf8c7246682cbb2d6f27bf0f1531c6d (patch) | |
tree | 144b7d5b9ec1215e88d05539f51e042a6d39470c /python/pyspark/ml/__init__.py | |
parent | e4136ea6c457bc74cee312aa14974498ab4633eb (diff) | |
download | spark-8f11c6116bf8c7246682cbb2d6f27bf0f1531c6d.tar.gz spark-8f11c6116bf8c7246682cbb2d6f27bf0f1531c6d.tar.bz2 spark-8f11c6116bf8c7246682cbb2d6f27bf0f1531c6d.zip |
[SPARK-7535] [.0] [MLLIB] Audit the pipeline APIs for 1.4
Some changes to the pipeilne APIs:
1. Estimator/Transformer/ doesn’t need to extend Params since PipelineStage already does.
1. Move Evaluator to ml.evaluation.
1. Mention larger metric values are better.
1. PipelineModel doc. “compiled” -> “fitted”
1. Hide object PolynomialExpansion.
1. Hide object VectorAssembler.
1. Word2Vec.minCount (and other) -> group param
1. ParamValidators -> DeveloperApi
1. Hide MetadataUtils/SchemaUtils.
jkbradley
Author: Xiangrui Meng <meng@databricks.com>
Closes #6322 from mengxr/SPARK-7535.0 and squashes the following commits:
9e9c7da [Xiangrui Meng] move JavaEvaluator to ml.evaluation as well
e179480 [Xiangrui Meng] move Evaluation to ml.evaluation in PySpark
08ef61f [Xiangrui Meng] update pipieline APIs
Diffstat (limited to 'python/pyspark/ml/__init__.py')
-rw-r--r-- | python/pyspark/ml/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyspark/ml/__init__.py b/python/pyspark/ml/__init__.py index da793d9db7..327a11b14b 100644 --- a/python/pyspark/ml/__init__.py +++ b/python/pyspark/ml/__init__.py @@ -15,6 +15,6 @@ # limitations under the License. # -from pyspark.ml.pipeline import Transformer, Estimator, Model, Pipeline, PipelineModel, Evaluator +from pyspark.ml.pipeline import Transformer, Estimator, Model, Pipeline, PipelineModel -__all__ = ["Transformer", "Estimator", "Model", "Pipeline", "PipelineModel", "Evaluator"] +__all__ = ["Transformer", "Estimator", "Model", "Pipeline", "PipelineModel"] |