Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/3099#issuecomment-62674818
  
    After a user fits a pipeline, without `getModel(estimator)`, he needs to go 
through each transformer in the pipeline model to find it. The example pipeline 
doesn't mean to cover everything in this PR. But this method is very useful:
    
    ~~~
    val lrModel = pipelineModel.getModel(lr)
    ~~~
    
    Is this operation useful? I would say yes. If we both agree, the question 
becomes whether the current form is okay and what other options we have. I 
understand that your concern but we need to expose something that can make a 
"working" pipeline in order to ask users to try. We can test this internally 
for months, but without users' feedback the use cases we know would be quite 
limited. The users should be aware of the fact that this is alpha and we should 
not be afraid of changing APIs that make things better.


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