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

Yanbo Liang updated SPARK-11651:
--------------------------------
    Description: 
LinearRegressionSummary should support get residuals by type like R glm:
{code}
residuals(object, type = c("deviance", "pearson", "working",
                           "response", "partial"), ...)
{code}
We only add residualsByType in ml.LinearRegressionSummary for this issue, and 
expose the API for SparkR in another JIRA.

  was:
LinearRegressionSummary should support get residuals by type like R glm:
{code}
residuals(object, type = c("deviance", "pearson", "working",
                           "response", "partial"), ...)
{code}
I think we should add residualsByType in LinearRegressionSummary for this 
issue, and expose the API for SparkR in another JIRA.


> LinearRegressionSummary should support get residuals by type
> ------------------------------------------------------------
>
>                 Key: SPARK-11651
>                 URL: https://issues.apache.org/jira/browse/SPARK-11651
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Yanbo Liang
>
> LinearRegressionSummary should support get residuals by type like R glm:
> {code}
> residuals(object, type = c("deviance", "pearson", "working",
>                            "response", "partial"), ...)
> {code}
> We only add residualsByType in ml.LinearRegressionSummary for this issue, and 
> expose the API for SparkR in another JIRA.



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