Github user yanboliang commented on the issue:
https://github.com/apache/spark/pull/15788
@jkbradley I agree that exposing probabilities is also useful to R users.
Think more about this issue, I think we can add a new argument ```type``` to
```predict```, this argument controls the type of prediction required. This
will match the behavior of R
[```glm.predict```](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/predict.glm.html)
and other native R predict method.
---
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]