Github user yinxusen commented on the pull request:

    https://github.com/apache/spark/pull/11683#issuecomment-196493904
  
    @mengxr Because I add these imports:
    
    ```python
    from pyspark.ml.util import keyword_only, JavaMLWriter, JavaMLReader
    from pyspark.ml.wrapper import JavaWrapper
    ```
    
    And these imported classes import `Estimator`, `Transformer`, and `Model` 
simultaneously. It causes the error of cross reference.
    
    And also, I think it's better to split them because the `Estimator`, 
`Transformer`, and `Model` are abstract classes, while `Pipeline` is not.


---
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