[SPARK-13676] Fix mismatched default values for regParam in LogisticRegression
[SPARK-13676] Fix mismatched default values for regParam in LogisticRegression

## What changes were proposed in this pull request?

The default value of regularization parameter for `LogisticRegression` algorithm is different in Scala and Python. We should provide the same value.

**Scala**
```
scala> new org.apache.spark.ml.classification.LogisticRegression().getRegParam
res0: Double = 0.0
```

**Python**
```
>>> from pyspark.ml.classification import LogisticRegression
>>> LogisticRegression().getRegParam()
0.1
```

## How was this patch tested?
manual. Check the following in `pyspark`.
```
>>> from pyspark.ml.classification import LogisticRegression
>>> LogisticRegression().getRegParam()
0.0
```

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #11519 from dongjoon-hyun/SPARK-13676.

UndeadBaneGitHub/spark,rikima/spark,zzcclp/spark,ueshin/apache-spark,publicRoman/spark,gengliangwang/spark,vinodkc/spark,apache-spark-on-k8s/spark,michalsenkyr/spark,SHASHANKB/spark,map222/spark,witgo/spark,debugger87/spark,ericvandenbergfb/spark,lvdongr/spark,janewangfb/spark,SnappyDataInc/spark,UndeadBaneGitHub/spark,ioana-delaney/spark,ron8hu/spark,tengpeng/spark,LantaoJin/spark,jiangxb1987/spark,nilsgrabbert/spark,ioana-delaney/spark,stanzhai/spark,zuotingbing/spark,loneknightpy/spark,goldmedal/spark,huang1900/spark,janewangfb/spark,techaddict/spark,aray/spark,vinodkc/spark,WeichenXu123/spark,kimoonkim/spark,big-pegasus/spark,icexelloss/spark,srowen/spark,caneGuy/spark,aosagie/spark,vinodkc/spark,goldmedal/spark,LantaoJin/spark,kevinyu98/spark,skonto/spark,andrewor14/spark,cloud-fan/spark,WindCanDie/spark,WeichenXu123/spark,kimoonkim/spark,maropu/spark,tengpeng/spark,wangyum/spark,MLnick/spark,xflin/spark,JoshRosen/spark,gengliangwang/spark,facaiy/spark,zhouyejoe/spark,kimoonkim/spark,tejasapatil/spark,JerryLead/spark,lxsmnv/spark,guoxiaolongzte/spark,jiangxb1987/spark,witgo/spark,lvdongr/spark,bOOm-X/spark,zzcclp/spark,xflin/spark,esi-mineset/spark,caneGuy/spark,jianran/spark,zuotingbing/spark,goldmedal/spark,dhruve/spark,sureshthalamati/spark,xuanyuanking/spark,SHASHANKB/spark,MLnick/spark,alunarbeach/spark,maropu/spark,ConeyLiu/spark,lxsmnv/spark,big-pegasus/spark,WeichenXu123/spark,ajaysaini725/spark,pgandhi999/spark,wangmiao1981/spark,liutang123/spark,kissmetrics/spark,bOOm-X/spark,ddna1021/spark,maropu/spark,jiangxb1987/spark,akopich/spark,liyichao/spark,jiangxb1987/spark,ajaysaini725/spark,BryanCutler/spark,alunarbeach/spark,caneGuy/spark,cloud-fan/spark,taroplus/spark,tejasapatil/spark,goldmedal/spark,byakuinss/spark,guoxiaolongzte/spark,publicRoman/spark,WindCanDie/spark,nlalevee/spark,ioana-delaney/spark,aokolnychyi/spark,Aegeaner/spark,wzhfy/spark,matthewfranglen/spark,mdespriee/spark,SnappyDataInc/spark,sachintyagi22/spark,jkbradley/spark,milliman/spark,Panos-Bletsos/spark-cost-model-optimizer,adrian-ionescu/apache-spark,narahari92/spark,poffuomo/spark,gengliangwang/spark,zhouyejoe/spark,esi-mineset/spark,holdenk/spark,highfei2011/spark,caneGuy/spark,tejasapatil/spark,sachintyagi22/spark,JoshRosen/spark,byakuinss/spark,1haodian/spark,ueshin/apache-spark,xflin/spark,BryanCutler/spark,liutang123/spark,saltstar/spark,rednaxelafx/apache-spark,xflin/spark,pgandhi999/spark,ptkool/spark,minixalpha/spark,Panos-Bletsos/spark-cost-model-optimizer,maropu/spark,ioana-delaney/spark,spark-test/spark,JoshRosen/spark,zzcclp/spark,poffuomo/spark,alunarbeach/spark,minixalpha/spark,WeichenXu123/spark,chuckchen/spark,dhruve/spark,mahak/spark,loneknightpy/spark,maropu/spark,saturday-shi/spark,facaiy/spark,sahilTakiar/spark,UndeadBaneGitHub/spark,ioana-delaney/spark,aosagie/spark,taroplus/spark,esi-mineset/spark,LantaoJin/spark,stanzhai/spark,markhamstra/spark,big-pegasus/spark,pgandhi999/spark,narahari92/spark,WeichenXu123/spark,setjet/spark,chuckchen/spark,lvdongr/spark,Aegeaner/spark,saturday-shi/spark,gioenn/xSpark,actuaryzhang/spark,jianran/spark,metamx/spark,byakuinss/spark,HyukjinKwon/spark,wzhfy/spark,saltstar/spark,vinodkc/spark,witgo/spark,nchammas/spark,mzl9039/spark,rekhajoshm/spark,gioenn/xSpark,szhem/spark,lxsmnv/spark,michalsenkyr/spark,techaddict/spark,mahak/spark,mzl9039/spark,huang1900/spark,apache/spark,wangyum/spark,ddna1021/spark,dbtsai/spark,hhbyyh/spark,liyichao/spark,BryanCutler/spark,sureshthalamati/spark,mahak/spark,witgo/spark,actuaryzhang/spark,taroplus/spark,taroplus/spark,hhbyyh/spark,cloud-fan/spark,cin/spark,ericvandenbergfb/spark,andrewor14/spark,shaneknapp/spark,apache-spark-on-k8s/spark,dbtsai/spark,tejasapatil/spark,nchammas/spark,dbtsai/spark,kimoonkim/spark,dongjoon-hyun/spark,szhem/spark,tengpeng/spark,wangyum/spark,nlalevee/spark,zero323/spark,markhamstra/spark,someorz/spark,WeichenXu123/spark,rezasafi/spark,ioana-delaney/spark,bravo-zhang/spark,joseph-torres/spark,cin/spark,gengliangwang/spark,witgo/spark,goldmedal/spark,markhamstra/spark,akopich/spark,ConeyLiu/spark,joseph-torres/spark,bOOm-X/spark,publicRoman/spark,markhamstra/spark,jkbradley/spark,xuanyuanking/spark,jlopezmalla/spark,kiszk/spark,xuanyuanking/spark,wzhfy/spark,esi-mineset/spark,WindCanDie/spark,MLnick/spark,joseph-torres/spark,jlopezmalla/spark,loneknightpy/spark,mzl9039/spark,narahari92/spark,kissmetrics/spark,lvdongr/spark,szhem/spark,MLnick/spark,metamx/spark,zero323/spark,ajaysaini725/spark,milliman/spark,kiszk/spark,darionyaphet/spark,milliman/spark,milliman/spark,liutang123/spark,loneknightpy/spark,srowen/spark,bravo-zhang/spark,bravo-zhang/spark,ibm-research-ireland/sparkoscope,UndeadBaneGitHub/spark,brad-kaiser/spark,ueshin/apache-spark,metamx/spark,gioenn/xSpark,ConeyLiu/spark,gengliangwang/spark,Aegeaner/spark,mike0sv/spark,hvanhovell/spark,mzl9039/spark,debugger87/spark,kiszk/spark,mike0sv/spark,apache/spark,rednaxelafx/apache-spark,guoxiaolongzte/spark,milliman/spark,JoshRosen/spark,dhruve/spark,patrick-nicholson/spark,minixalpha/spark,jrshust/spark,map222/spark,aokolnychyi/spark,joseph-torres/spark,1haodian/spark,szhem/spark,dbtsai/spark,shubhamchopra/spark,actuaryzhang/spark,mike0sv/spark,UndeadBaneGitHub/spark,wangyum/spark,zhouyejoe/spark,liyichao/spark,apache/spark,guoxiaolongzte/spark,aokolnychyi/spark,aosagie/spark,WindCanDie/spark,huang1900/spark,ibm-research-ireland/sparkoscope,JoshRosen/spark,pgandhi999/spark,aosagie/spark,hvanhovell/spark,aray/spark,rekhajoshm/spark,aray/spark,joseph-torres/spark,byakuinss/spark,shuangshuangwang/spark,holdenk/spark,michalsenkyr/spark,rikima/spark,rednaxelafx/apache-spark,Panos-Bletsos/spark-cost-model-optimizer,bOOm-X/spark,hvanhovell/spark,HyukjinKwon/spark,zero323/spark,Aegeaner/spark,janewangfb/spark,nilsgrabbert/spark,liyichao/spark,zuotingbing/spark,setjet/spark,chuckchen/spark,darionyaphet/spark,mdespriee/spark,michalsenkyr/spark,spark-test/spark,apache-spark-on-k8s/spark,aokolnychyi/spark,shubhamchopra/spark,kissmetrics/spark,icexelloss/spark,liyichao/spark,loneknightpy/spark,lxsmnv/spark,bOOm-X/spark,ericvandenbergfb/spark,shuangshuangwang/spark,markhamstra/spark,zzcclp/spark,jrshust/spark,1haodian/spark,taroplus/spark,guoxiaolongzte/spark,ron8hu/spark,ron8hu/spark,poffuomo/spark,zero323/spark,szhem/spark,big-pegasus/spark,techaddict/spark,aokolnychyi/spark,rezasafi/spark,wzhfy/spark,JerryLead/spark,JerryLead/spark,ptkool/spark,highfei2011/spark,xflin/spark,saturday-shi/spark,michalsenkyr/spark,shubhamchopra/spark,ajaysaini725/spark,tengpeng/spark,huang1900/spark,spark-test/spark,jrshust/spark,rednaxelafx/apache-spark,adrian-ionescu/apache-spark,eyalfa/spark,zuotingbing/spark,LantaoJin/spark,nchammas/spark,michalsenkyr/spark,someorz/spark,caneGuy/spark,taroplus/spark,xuanyuanking/spark,1haodian/spark,alunarbeach/spark,gioenn/xSpark,dbtsai/spark,brad-kaiser/spark,holdenk/spark,darionyaphet/spark,panfengfeng/spark,janewangfb/spark,ConeyLiu/spark,SHASHANKB/spark,mike0sv/spark,1haodian/spark,patrick-nicholson/spark,actuaryzhang/spark,metamx/spark,ajaysaini725/spark,jianran/spark,maropu/spark,andrewor14/spark,huang1900/spark,shaneknapp/spark,rikima/spark,tejasapatil/spark,mike0sv/spark,highfei2011/spark,jlopezmalla/spark,tengpeng/spark,srowen/spark,dongjoon-hyun/spark,ddna1021/spark,JoshRosen/spark,sureshthalamati/spark,map222/spark,taroplus/spark,alunarbeach/spark,wangmiao1981/spark,brad-kaiser/spark,mdespriee/spark,tejasapatil/spark,jianran/spark,cloud-fan/spark,LantaoJin/spark,cin/spark,someorz/spark,kissmetrics/spark,esi-mineset/spark,jiangxb1987/spark,ron8hu/spark,patrick-nicholson/spark,chuckchen/spark,panfengfeng/spark,lxsmnv/spark,alunarbeach/spark,zhouyejoe/spark,rezasafi/spark,mzl9039/spark,sureshthalamati/spark,narahari92/spark,bdrillard/spark,ptkool/spark,rednaxelafx/apache-spark,WindCanDie/spark,apache-spark-on-k8s/spark,dongjoon-hyun/spark,wangmiao1981/spark,wangmiao1981/spark,publicRoman/spark,dhruve/spark,jlopezmalla/spark,aosagie/spark,loneknightpy/spark,ioana-delaney/spark,ahnqirage/spark,markhamstra/spark,wzhfy/spark,srowen/spark,techaddict/spark,lxsmnv/spark,facaiy/spark,Panos-Bletsos/spark-cost-model-optimizer,JerryLead/spark,nilsgrabbert/spark,stanzhai/spark,nchammas/spark,dbtsai/spark,SnappyDataInc/spark,nchammas/spark,hhbyyh/spark,dongjoon-hyun/spark,kiszk/spark,Panos-Bletsos/spark-cost-model-optimizer,cloud-fan/spark,jrshust/spark,apache/spark,jkbradley/spark,sureshthalamati/spark,aray/spark,janewangfb/spark,skonto/spark,map222/spark,SHASHANKB/spark,SnappyDataInc/spark,lvdongr/spark,ericvandenbergfb/spark,minixalpha/spark,chuckchen/spark,adrian-ionescu/apache-spark,wzhfy/spark,srowen/spark,WindCanDie/spark,liutang123/spark,lvdongr/spark,Aegeaner/spark,eyalfa/spark,gengliangwang/spark,gengliangwang/spark,shubhamchopra/spark,bdrillard/spark,esi-mineset/spark,highfei2011/spark,ddna1021/spark,rikima/spark,ahnqirage/spark,xuanyuanking/spark,setjet/spark,saltstar/spark,hhbyyh/spark,highfei2011/spark,dhruve/spark,kevinyu98/spark,zhouyejoe/spark,LantaoJin/spark,BryanCutler/spark,andrewor14/spark,bravo-zhang/spark,joseph-torres/spark,debugger87/spark,bOOm-X/spark,MLnick/spark,ibm-research-ireland/sparkoscope,mdespriee/spark,darionyaphet/spark,saltstar/spark,xflin/spark,ueshin/apache-spark,shubhamchopra/spark,zhouyejoe/spark,BryanCutler/spark,cin/spark,liutang123/spark,patrick-nicholson/spark,jkbradley/spark,stanzhai/spark,publicRoman/spark,hvanhovell/spark,jianran/spark,jiangxb1987/spark,adrian-ionescu/apache-spark,big-pegasus/spark,nlalevee/spark,dongjoon-hyun/spark,jlopezmalla/spark,wangyum/spark,huang1900/spark,rednaxelafx/apache-spark,narahari92/spark,tejasapatil/spark,jkbradley/spark,wangmiao1981/spark,debugger87/spark,techaddict/spark,witgo/spark,hhbyyh/spark,someorz/spark,icexelloss/spark,apache-spark-on-k8s/spark,JerryLead/spark,jkbradley/spark,hhbyyh/spark,publicRoman/spark,loneknightpy/spark,liyichao/spark,andrewor14/spark,techaddict/spark,actuaryzhang/spark,ptkool/spark,shaneknapp/spark,dhruve/spark,metamx/spark,holdenk/spark,Aegeaner/spark,wangmiao1981/spark,dhruve/spark,ConeyLiu/spark,icexelloss/spark,ptkool/spark,poffuomo/spark,kiszk/spark,sachintyagi22/spark,hvanhovell/spark,shaneknapp/spark,nilsgrabbert/spark,BryanCutler/spark,markhamstra/spark,ibm-research-ireland/sparkoscope,WindCanDie/spark,mdespriee/spark,WeichenXu123/spark,tengpeng/spark,kevinyu98/spark,mahak/spark,szhem/spark,gioenn/xSpark,setjet/spark,shuangshuangwang/spark,jrshust/spark,hvanhovell/spark,jrshust/spark,ddna1021/spark,sachintyagi22/spark,sahilTakiar/spark,janewangfb/spark,brad-kaiser/spark,ibm-research-ireland/sparkoscope,rikima/spark,andrewor14/spark,facaiy/spark,holdenk/spark,byakuinss/spark,ron8hu/spark,JoshRosen/spark,HyukjinKwon/spark,kevinyu98/spark,SnappyDataInc/spark,apache-spark-on-k8s/spark,zhouyejoe/spark,mdespriee/spark,JerryLead/spark,ueshin/apache-spark,panfengfeng/spark,big-pegasus/spark,eyalfa/spark,liutang123/spark,mike0sv/spark,shaneknapp/spark,darionyaphet/spark,goldmedal/spark,kissmetrics/spark,kevinyu98/spark,sahilTakiar/spark,wangmiao1981/spark,someorz/spark,yanboliang/spark,ddna1021/spark,aray/spark,aokolnychyi/spark,byakuinss/spark,debugger87/spark,kimoonkim/spark,highfei2011/spark,mahak/spark,janewangfb/spark,mdespriee/spark,saturday-shi/spark,zzcclp/spark,wangyum/spark,szhem/spark,bravo-zhang/spark,shuangshuangwang/spark,stanzhai/spark,eyalfa/spark,nilsgrabbert/spark,shaneknapp/spark,SnappyDataInc/spark,dongjoon-hyun/spark,bdrillard/spark,ptkool/spark,witgo/spark,ericvandenbergfb/spark,rikima/spark,yanboliang/spark,icexelloss/spark,skonto/spark,zzcclp/spark,skonto/spark,adrian-ionescu/apache-spark,srowen/spark,huang1900/spark,setjet/spark,ahnqirage/spark,milliman/spark,kevinyu98/spark,UndeadBaneGitHub/spark,JerryLead/spark,actuaryzhang/spark,kissmetrics/spark,sureshthalamati/spark,guoxiaolongzte/spark,aosagie/spark,ahnqirage/spark,adrian-ionescu/apache-spark,shuangshuangwang/spark,bdrillard/spark,nlalevee/spark,shuangshuangwang/spark,HyukjinKwon/spark,yanboliang/spark,rekhajoshm/spark,spark-test/spark,panfengfeng/spark,gioenn/xSpark,nilsgrabbert/spark,ahnqirage/spark,chuckchen/spark,holdenk/spark,bdrillard/spark,patrick-nicholson/spark,Aegeaner/spark,patrick-nicholson/spark,xuanyuanking/spark,kissmetrics/spark,SHASHANKB/spark,mahak/spark,tengpeng/spark,apache/spark,zuotingbing/spark,akopich/spark,metamx/spark,aokolnychyi/spark,mzl9039/spark,apache/spark,cin/spark,darionyaphet/spark,1haodian/spark,ajaysaini725/spark,brad-kaiser/spark,setjet/spark,jlopezmalla/spark,saltstar/spark,bravo-zhang/spark,rekhajoshm/spark,poffuomo/spark,HyukjinKwon/spark,alunarbeach/spark,shaneknapp/spark,liyichao/spark,michalsenkyr/spark,shuangshuangwang/spark,milliman/spark,saltstar/spark,ddna1021/spark,someorz/spark,MLnick/spark,ueshin/apache-spark,saturday-shi/spark,jianran/spark,hhbyyh/spark,skonto/spark,adrian-ionescu/apache-spark,apache/spark,goldmedal/spark,lvdongr/spark,skonto/spark,akopich/spark,mike0sv/spark,rekhajoshm/spark,stanzhai/spark,MLnick/spark,skonto/spark,highfei2011/spark,actuaryzhang/spark,kimoonkim/spark,ueshin/apache-spark,SHASHANKB/spark,minixalpha/spark,UndeadBaneGitHub/spark,nlalevee/spark,eyalfa/spark,lxsmnv/spark,ahnqirage/spark,guoxiaolongzte/spark,SHASHANKB/spark,nilsgrabbert/spark,brad-kaiser/spark,jrshust/spark,joseph-torres/spark,spark-test/spark,jkbradley/spark,pgandhi999/spark,sahilTakiar/spark,zero323/spark,sahilTakiar/spark,sureshthalamati/spark,sachintyagi22/spark,facaiy/spark,rekhajoshm/spark,cin/spark,rekhajoshm/spark,BryanCutler/spark,akopich/spark,liutang123/spark,map222/spark,sahilTakiar/spark,debugger87/spark,akopich/spark,panfengfeng/spark,aray/spark,facaiy/spark,rezasafi/spark,bdrillard/spark,Panos-Bletsos/spark-cost-model-optimizer,xflin/spark,mzl9039/spark,esi-mineset/spark,big-pegasus/spark,rezasafi/spark,panfengfeng/spark,kiszk/spark,poffuomo/spark,yanboliang/spark,maropu/spark,rikima/spark,LantaoJin/spark,wangyum/spark,eyalfa/spark,chuckchen/spark,kimoonkim/spark,xuanyuanking/spark,cloud-fan/spark,rezasafi/spark,pgandhi999/spark,SnappyDataInc/spark,cloud-fan/spark,zzcclp/spark,spark-test/spark,HyukjinKwon/spark,zuotingbing/spark,jlopezmalla/spark,akopich/spark,spark-test/spark,rednaxelafx/apache-spark,sachintyagi22/spark,bOOm-X/spark,minixalpha/spark,1haodian/spark,gioenn/xSpark,icexelloss/spark,ajaysaini725/spark,caneGuy/spark,HyukjinKwon/spark,nlalevee/spark,setjet/spark,aray/spark,vinodkc/spark,aosagie/spark,kevinyu98/spark,stanzhai/spark,ibm-research-ireland/sparkoscope,bdrillard/spark,debugger87/spark,facaiy/spark,caneGuy/spark,jianran/spark,bravo-zhang/spark,yanboliang/spark,shubhamchopra/spark,sahilTakiar/spark,icexelloss/spark,yanboliang/spark,dongjoon-hyun/spark,byakuinss/spark,zuotingbing/spark,ericvandenbergfb/spark,saturday-shi/spark,darionyaphet/spark,ron8hu/spark,brad-kaiser/spark,techaddict/spark,dbtsai/spark,nchammas/spark,metamx/spark,narahari92/spark,ptkool/spark,kiszk/spark,jiangxb1987/spark,nlalevee/spark,poffuomo/spark,pgandhi999/spark,sachintyagi22/spark,vinodkc/spark,map222/spark,yanboliang/spark,ConeyLiu/spark,hvanhovell/spark,rezasafi/spark,mahak/spark,vinodkc/spark,ron8hu/spark,narahari92/spark,ahnqirage/spark,apache-spark-on-k8s/spark,srowen/spark,map222/spark,saturday-shi/spark,zero323/spark,patrick-nicholson/spark,andrewor14/spark,publicRoman/spark,Panos-Bletsos/spark-cost-model-optimizer,cin/spark,someorz/spark,panfengfeng/spark,shubhamchopra/spark,ericvandenbergfb/spark,saltstar/spark,minixalpha/spark,eyalfa/spark,nchammas/spark,ibm-research-ireland/sparkoscope,zero323/spark,wzhfy/spark,holdenk/spark,ConeyLiu/spark