Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/7771#discussion_r35914249
--- Diff: R/pkg/R/mllib.R ---
@@ -71,3 +71,27 @@ setMethod("predict", signature(object = "PipelineModel"),
function(object, newData) {
return(dataFrame(callJMethod(object@model, "transform",
newData@sdf)))
})
+
+#' Get statistics on a model.
--- End diff --
`statistics` -> `summary`. We also need to have a better description of the
return value. For example, this is R's doc of `summary.glm`
(https://stat.ethz.ch/R-manual/R-devel/library/stats/html/summary.glm.html):
~~~
summary.glm returns an object of class "summary.glm", a list with components
...
coefficients the matrix of coefficients, standard errors, z-values
and p-values. Aliased coefficients are omitted.
...
~~~
---
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]