Github user wangmiao1981 commented on a diff in the pull request:
https://github.com/apache/spark/pull/16150#discussion_r91232063
--- Diff: R/pkg/R/mllib.R ---
@@ -1852,9 +1867,9 @@ summary.treeEnsemble <- function(model) {
# Get the summary of a Random Forest Regression Model
-#' @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
+#' @return \code{summary} returns summary information of the fitted model,
which is a list.
+#' The list of components includes \code{ans} (formula, number of
features, list of features,
+#' feature importances, number of trees, and tree weights).
--- End diff --
the two places returns `summary.treeEnsemble(object)`. What shall I put in
the `\code{}`?
---
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]