diff options
author | Imran Younus <iyounus@us.ibm.com> | 2016-02-02 20:38:53 -0800 |
---|---|---|
committer | DB Tsai <dbt@netflix.com> | 2016-02-02 20:38:53 -0800 |
commit | 0557146619868002e2f7ec3c121c30bbecc918fc (patch) | |
tree | 184e05350cfe43f7b57c2b62cdf58398e4f6ea73 /examples | |
parent | 99a6e3c1e8d580ce1cc497bd9362eaf16c597f77 (diff) | |
download | spark-0557146619868002e2f7ec3c121c30bbecc918fc.tar.gz spark-0557146619868002e2f7ec3c121c30bbecc918fc.tar.bz2 spark-0557146619868002e2f7ec3c121c30bbecc918fc.zip |
[SPARK-12732][ML] bug fix in linear regression train
Fixed the bug in linear regression train for the case when the target variable is constant. The two cases for `fitIntercept=true` or `fitIntercept=false` should be treated differently.
Author: Imran Younus <iyounus@us.ibm.com>
Closes #10702 from iyounus/SPARK-12732_bug_fix_in_linear_regression_train.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions