You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2016/04/08 06:15:25 UTC

[jira] [Updated] (SPARK-14479) GLM predict type should be link or response?

     [ https://issues.apache.org/jira/browse/SPARK-14479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yanbo Liang updated SPARK-14479:
--------------------------------
    Description: 
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

  was: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? 


> 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
>            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



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

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