diff options
author | Feynman Liang <fliang@databricks.com> | 2015-07-17 14:00:53 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-07-17 14:00:53 -0700 |
commit | 6da1069696186572c66cbd83947c1a1dbd2bc827 (patch) | |
tree | 5bb7ed475b06d0025f3ae377f9b7fade5017843f /launcher | |
parent | ad0954f6de29761e0e7e543212c5bfe1fdcbed9f (diff) | |
download | spark-6da1069696186572c66cbd83947c1a1dbd2bc827.tar.gz spark-6da1069696186572c66cbd83947c1a1dbd2bc827.tar.bz2 spark-6da1069696186572c66cbd83947c1a1dbd2bc827.zip |
[SPARK-9090] [ML] Fix definition of residual in LinearRegressionSummary, EnsembleTestHelper, and SquaredError
Make the definition of residuals in Spark consistent with literature. We have been using `prediction - label` for residuals, but literature usually defines `residual = label - prediction`.
Author: Feynman Liang <fliang@databricks.com>
Closes #7435 from feynmanliang/SPARK-9090-Fix-LinearRegressionSummary-Residuals and squashes the following commits:
f4b39d8 [Feynman Liang] Fix doc
bc12a92 [Feynman Liang] Tweak EnsembleTestHelper and SquaredError residuals
63f0d60 [Feynman Liang] Fix definition of residual
Diffstat (limited to 'launcher')
0 files changed, 0 insertions, 0 deletions