[SPARK-10271][PYSPARK][MLLIB] Added @since tags to pyspark.mllib.clustering
[SPARK-10271][PYSPARK][MLLIB] Added @since tags to pyspark.mllib.clustering

Duplicated the since decorator from pyspark.sql into pyspark (also tweaked to handle functions without docstrings).

Added since to methods + "versionadded::" to classes (derived from the git file history in pyspark).

Author: noelsmith <mail@noelsmith.com>

Closes #8627 from noel-smith/SPARK-10271-since-mllib-clustering.

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