aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorImran Younus <iyounus@us.ibm.com>2016-01-20 11:16:59 -0800
committerXiangrui Meng <meng@databricks.com>2016-01-20 11:16:59 -0800
commit9753835cf3acc135e61bf668223046e29306c80d (patch)
tree0bb568468afea635647eeb7df8e30453a2f95489 /bin
parent9bb35c5b59e58dbebbdc6856d611bff73dd35a91 (diff)
downloadspark-9753835cf3acc135e61bf668223046e29306c80d.tar.gz
spark-9753835cf3acc135e61bf668223046e29306c80d.tar.bz2
spark-9753835cf3acc135e61bf668223046e29306c80d.zip
[SPARK-12230][ML] WeightedLeastSquares.fit() should handle division by zero properly if standard deviation of target variable is zero.
This fixes the behavior of WeightedLeastSquars.fit() when the standard deviation of the target variable is zero. If the fitIntercept is true, there is no need to train. Author: Imran Younus <iyounus@us.ibm.com> Closes #10274 from iyounus/SPARK-12230_bug_fix_in_weighted_least_squares.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions