[ https://issues.apache.org/jira/browse/SPARK-10931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061051#comment-15061051 ]
Joseph K. Bradley commented on SPARK-10931: ------------------------------------------- I'd very strongly prefer not to modify every model. I believe we can save a lot of code by using a generic, shared implementation. Check out {{getattr}} here: [https://docs.python.org/2/library/functions.html] In the wrapper.py file in spark.ml, there are some abstractions defined. I'm hoping one of those can be modified to provide access to Params. > PySpark ML Models should contain Param values > --------------------------------------------- > > Key: SPARK-10931 > URL: https://issues.apache.org/jira/browse/SPARK-10931 > Project: Spark > Issue Type: Improvement > Components: ML, PySpark > Reporter: Joseph K. Bradley > > PySpark spark.ml Models are generally wrappers around Java objects and do not > even contain Param values. This JIRA is for copying the Param values from > the Estimator to the model. > This can likely be solved by modifying Estimator.fit to copy Param values, > but should also include proper unit tests. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org