Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6322#discussion_r30863003
  
    --- Diff: 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"]
    --- End diff --
    
    On the Scala side, we put `Classifier` under `ml.classification` and 
`Regressor` under `ml.regression`. So I moved `Evaluator` to `ml.evaluation` to 
match them. `Evaluator` is now under `pyspark.ml.evaluation` and hence it is 
not imported here. Under `pyspark.ml`, we have `Transformer`, `Estimator`, 
`Model`, `Pipeline`, and `PipelineModel`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to