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/10 15:59:25 UTC
[jira] [Comment Edited] (SPARK-14479) GLM supports output link
prediction
[ https://issues.apache.org/jira/browse/SPARK-14479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234124#comment-15234124 ]
Yanbo Liang edited comment on SPARK-14479 at 4/10/16 1:59 PM:
--------------------------------------------------------------
Had offline discussion with [~mengxr], we all agreed [~josephkb]'s proposal. We can output 2 prediction columns: "predictionCol"(default) and "linkPredictionCol" which corresponding to "response" and "link" type of R predict.glm output.
I converted this task to "Improvement" and sent a PR for supporting link prediction.
was (Author: yanboliang):
Had offline discussion with [~mengxr], we can output 2 prediction columns: "predictionCol"(default) and "linkPredictionCol" which corresponding to "response" and "link" type of R predict.glm output.
I converted this task to "Improvement" and sent a PR for supporting link prediction.
> GLM supports output link prediction
> -----------------------------------
>
> Key: SPARK-14479
> URL: https://issues.apache.org/jira/browse/SPARK-14479
> Project: Spark
> Issue Type: Improvement
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org