You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2016/11/08 13:34:58 UTC

[jira] [Updated] (SPARK-18349) Update R API documentation on ml model summary

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

Yanbo Liang updated SPARK-18349:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> Update R API documentation on ml model summary
> ----------------------------------------------
>
>                 Key: SPARK-18349
>                 URL: https://issues.apache.org/jira/browse/SPARK-18349
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, SparkR
>    Affects Versions: 2.1.0
>            Reporter: Felix Cheung
>
> It has been discovered that there is a fair bit of consistency in the documentation of summary functions, eg.
> {code}
> #' @return \code{summary} returns a summary object of the fitted model, a list of components
> #'         including formula, number of features, list of features, feature importances, number of
> #'         trees, and tree weights
> setMethod("summary", signature(object = "GBTRegressionModel")
> {code}
> For instance, what should be listed for the return value? Should it be a name or a phrase, or should it be a list of items; and should there be a longer description on what they mean, or reference link to Scala doc.
> We will need to review this for all model summary implementations in mllib.R



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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