[ 
https://issues.apache.org/jira/browse/SPARK-14479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234121#comment-15234121
 ] 

Apache Spark commented on SPARK-14479:
--------------------------------------

User 'yanboliang' has created a pull request for this issue:
https://github.com/apache/spark/pull/12287

> GLM predict type should be link or response?
> --------------------------------------------
>
>                 Key: SPARK-14479
>                 URL: https://issues.apache.org/jira/browse/SPARK-14479
>             Project: Spark
>          Issue Type: Question
>          Components: ML, SparkR
>            Reporter: Yanbo Liang
>
> In R glm and glmnet, the default type of predict is "link" which is the 
> linear predictor, users can specify "type = response" to output response 
> prediction. Currently the ML glm predict will output "response" prediction by 
> default, I think it's more reasonable. Should we change the default type of 
> ML glm predict output? 
> R glm: 
> https://stat.ethz.ch/R-manual/R-devel/library/stats/html/predict.glm.html
> R glmnet: http://www.inside-r.org/packages/cran/glmnet/docs/predict.glmnet
> Meanwhile, we should decide the default type of glm predict output in SparkR.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to