[ https://issues.apache.org/jira/browse/SPARK-10931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047324#comment-15047324 ]
Joseph K. Bradley commented on SPARK-10931: ------------------------------------------- OK great! Btw, I just thought that this might be doable in a generic way which does not require modifying every Model: * In the Model abstraction, override getattr to check for whether the attribute name is the name of a Param in the parent Estimator. If so, return that Param. If not, call the default getattr, if any. > 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