[
https://issues.apache.org/jira/browse/SPARK-18618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15704698#comment-15704698
]
Felix Cheung commented on SPARK-18618:
--------------------------------------
Sounds like a good idea.
Does the existing types in predict.glm matches what we could do in Spark?
{code}type = c("link", "response", "terms"){code}
I ask because otherwise it could mask the signature (and make the predict.glm
not callable in R)
Also this isn't limit to spark.glm or glm?
> SparkR model predict should support type as a argument
> ------------------------------------------------------
>
> Key: SPARK-18618
> URL: https://issues.apache.org/jira/browse/SPARK-18618
> Project: Spark
> Issue Type: Improvement
> Components: ML, SparkR
> Reporter: Yanbo Liang
>
> SparkR model {{predict}} should support {{type}} as a argument. This will it
> consistent with native R predict such as
> https://stat.ethz.ch/R-manual/R-devel/library/stats/html/predict.glm.html .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]