You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Deborah Siegel (JIRA)" <ji...@apache.org> on 2015/09/03 21:10:45 UTC

[jira] [Commented] (SPARK-9713) Document SparkR MLlib glm() integration in Spark 1.5

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

Deborah Siegel commented on SPARK-9713:
---------------------------------------

It seems that summary() on binomial classification model in glm is not available as it is for gaussian model? Does SparkRWrappers.scala need to be updated, or the documentation?


>dbwt <- createDataFrame(sqlContext, birthwt) 
>logisticmodel <- glm(smoke ~ bwt, data = dbwt, family = "binomial")
>summary(logisticmodel)

15/09/03 12:02:43 ERROR RBackendHandler: getModelFeatures on org.apache.spark.ml.api.r.SparkRWrappers failed
Error in invokeJava(isStatic = TRUE, className, methodName, ...) : 
  java.lang.UnsupportedOperationException: No features names available for LogisticRegressionModel

> Document SparkR MLlib glm() integration in Spark 1.5
> ----------------------------------------------------
>
>                 Key: SPARK-9713
>                 URL: https://issues.apache.org/jira/browse/SPARK-9713
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, ML, SparkR
>    Affects Versions: 1.5.0
>            Reporter: Eric Liang
>            Assignee: Eric Liang
>            Priority: Critical
>             Fix For: 1.5.0
>
>
> The new SparkR functions in mllib.R should be documented: glm(), predict(), and summary().



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