Github user BryanCutler commented on the pull request:

    https://github.com/apache/spark/pull/11906#issuecomment-205545296
  
    Hmmm, I'm not sure if that would completely solve this.. The scala version 
of `CountVectorizerModel` allows to construct it from a "vocab" set, instead of 
fitting the estimator.  So when I tried that on the Python side, I needed to 
define an "inputCol" param.  After adding the `HasInputCol` mixin to the model 
class, this ownership problem happened.
    
    I think there still needs to be some way to override the default 
`JavaModel` UID before calling the parent `__init__()`


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