Yanbo Liang created SPARK-11651:
-----------------------------------

             Summary: 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}
I think we should add residualsByType in 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