You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by april_ZMQ <mq...@mais.smu.edu.sg> on 2016/06/10 04:14:52 UTC

SparkR : glm model

Hi all,

I'm a student who are working on a data analysis project with sparkR.

I found out that GLM (generalized linear model) only supports two types of
distribution,  "gaussian" and  "binomial". 
However, our project is requiring the "poisson" distribution. Meanwhile, I
found out that sparkR was supporting "poisson"before but now this function
is closed. https://issues.apache.org/jira/browse/SPARK-12566
<https://issues.apache.org/jira/browse/SPARK-12566>  

Is there any approaches that I can use the previous official package of
poisson distribution in SparkR instead?

Thank you very much!





--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-glm-model-tp27134.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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


Re: SparkR : glm model

Posted by Sun Rui <su...@163.com>.
You were looking at some old code.
poisson family is supported in latest master branch.
You can try spark 2.0 preview release from http://spark.apache.org/news/spark-2.0.0-preview.html <http://spark.apache.org/news/spark-2.0.0-preview.html>

> On Jun 10, 2016, at 12:14, april_ZMQ <mq...@mais.smu.edu.sg> wrote:
> 
> Hi all,
> 
> I'm a student who are working on a data analysis project with sparkR.
> 
> I found out that GLM (generalized linear model) only supports two types of
> distribution,  "gaussian" and  "binomial". 
> However, our project is requiring the "poisson" distribution. Meanwhile, I
> found out that sparkR was supporting "poisson"before but now this function
> is closed. https://issues.apache.org/jira/browse/SPARK-12566
> <https://issues.apache.org/jira/browse/SPARK-12566>  
> 
> Is there any approaches that I can use the previous official package of
> poisson distribution in SparkR instead?
> 
> Thank you very much!
> 
> 
> 
> 
> 
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-glm-model-tp27134.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>