[SPARK-12974][ML][PYSPARK] Add Python API for spark.ml bisecting k-means
[SPARK-12974][ML][PYSPARK] Add Python API for spark.ml bisecting k-means

Add Python API for spark.ml bisecting k-means.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #10889 from yanboliang/spark-12974.

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