Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/15746#discussion_r86636958
--- Diff: R/pkg/R/mllib.R ---
@@ -1863,5 +1884,198 @@ print.summary.RandomForestRegressionModel <-
function(x, ...) {
#' @export
#' @note print.summary.RandomForestClassificationModel since 2.1.0
print.summary.RandomForestClassificationModel <- function(x, ...) {
- print.summary.randomForest(x)
+ print.summary.treeEnsemble(x)
+}
+
+#' Gradient Boosted Tree Model for Regression and Classification
+#'
+#' \code{spark.gbt} fits a Gradient Boosted Tree Regression model or
Classification model on a
+#' SparkDataFrame. Users can call \code{summary} to get a summary of the
fitted
+#' Gradient Boosted Tree model, \code{predict} to make predictions on new
data, and
+#' \code{write.ml}/\code{read.ml} to save/load fitted models.
+#' For more details, see
+#'
\href{http://spark.apache.org/docs/latest/ml-classification-regression.html}{GBT}
--- End diff --
I thought it's verbose to have 2 links, but I guess they are just links.
Added.
---
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]