You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:01:16 UTC

[jira] [Updated] (SPARK-16151) Make generated params non-final

     [ https://issues.apache.org/jira/browse/SPARK-16151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-16151:
---------------------------------
    Labels: bulk-closed  (was: )

> Make generated params non-final
> -------------------------------
>
>                 Key: SPARK-16151
>                 URL: https://issues.apache.org/jira/browse/SPARK-16151
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 2.0.0
>            Reporter: Xiangrui Meng
>            Priority: Major
>              Labels: bulk-closed
>
> Currently, all generated param instances are final. There are several scenarios where we need them to be non-final:
> 1. We don't have a guideline about where we should document the param doc. Some were inherited from the generated param traits directly, while some were documented in the setters if we want to make changes. I think it is better to have all documented in the param instances, which appear at the top the generated API doc. However, this requires inherit the param instance.
> {code}
> /**
>  * new doc
>  */
> val param: Param = super.param
> {code}
> We can use `@inherit_doc` if we just want to add a few words, e.g., the default value, to the inherited doc.
> 2. We might want to update the embedded doc in the param instance.
> Opened this JIRA for discussion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org