[SPARK-30358][ML][PYSPARK][FOLLOWUP] ML expose predictRaw and predictProbability on Python side
[SPARK-30358][ML][PYSPARK][FOLLOWUP] ML expose predictRaw and predictProbability on Python side

### What changes were proposed in this pull request?
expose predictRaw and predictProbability on Python side

### Why are the changes needed?
to keep parity between scala and python

### Does this PR introduce any user-facing change?
Yes. Expose python ```predictRaw``` and ```predictProbability```

### How was this patch tested?
doctest

Closes #27082 from huaxingao/spark-30358.

Authored-by: Huaxin Gao <b1011540267ee7fe5a02243ad09c007ca1860809@us.ibm.com>
Signed-off-by: Sean Owen <d519fa33a62684a61ab04b24d26f83452d51b34c@gmail.com>

dongjoon-hyun/spark,spark-test/spark,HyukjinKwon/spark,chuckchen/spark,taroplus/spark,hvanhovell/spark,witgo/spark,maropu/spark,nchammas/spark,ConeyLiu/spark,zzcclp/spark,ueshin/apache-spark,nchammas/spark,holdenk/spark,maropu/spark,zuotingbing/spark,HyukjinKwon/spark,maropu/spark,maropu/spark,srowen/spark,kevinyu98/spark,goldmedal/spark,JoshRosen/spark,shaneknapp/spark,taroplus/spark,kevinyu98/spark,JoshRosen/spark,mahak/spark,wangyum/spark,wangmiao1981/spark,maropu/spark,zero323/spark,rednaxelafx/apache-spark,ueshin/apache-spark,ptkool/spark,goldmedal/spark,ptkool/spark,chuckchen/spark,HyukjinKwon/spark,shaneknapp/spark,holdenk/spark,dbtsai/spark,WeichenXu123/spark,wzhfy/spark,zuotingbing/spark,zero323/spark,cloud-fan/spark,shuangshuangwang/spark,ueshin/apache-spark,milliman/spark,wangyum/spark,zero323/spark,srowen/spark,rednaxelafx/apache-spark,chuckchen/spark,zzcclp/spark,kevinyu98/spark,apache/spark,wangyum/spark,jiangxb1987/spark,gengliangwang/spark,wangyum/spark,ueshin/apache-spark,nchammas/spark,zuotingbing/spark,vinodkc/spark,skonto/spark,darionyaphet/spark,hvanhovell/spark,chuckchen/spark,xuanyuanking/spark,skonto/spark,rednaxelafx/apache-spark,wangyum/spark,srowen/spark,zero323/spark,skonto/spark,shuangshuangwang/spark,xuanyuanking/spark,dongjoon-hyun/spark,nchammas/spark,apache/spark,milliman/spark,hvanhovell/spark,WeichenXu123/spark,rednaxelafx/apache-spark,BryanCutler/spark,gengliangwang/spark,hvanhovell/spark,ueshin/apache-spark,mahak/spark,shaneknapp/spark,xuanyuanking/spark,shuangshuangwang/spark,nchammas/spark,jiangxb1987/spark,spark-test/spark,ptkool/spark,ueshin/apache-spark,holdenk/spark,apache/spark,WeichenXu123/spark,milliman/spark,cloud-fan/spark,taroplus/spark,taroplus/spark,wangmiao1981/spark,wzhfy/spark,darionyaphet/spark,WeichenXu123/spark,wangmiao1981/spark,chuckchen/spark,holdenk/spark,wangyum/spark,BryanCutler/spark,rednaxelafx/apache-spark,jiangxb1987/spark,goldmedal/spark,spark-test/spark,wzhfy/spark,jiangxb1987/spark,gengliangwang/spark,zuotingbing/spark,dbtsai/spark,HyukjinKwon/spark,rednaxelafx/apache-spark,jiangxb1987/spark,apache/spark,wzhfy/spark,zero323/spark,darionyaphet/spark,matthewfranglen/spark,JoshRosen/spark,cloud-fan/spark,kevinyu98/spark,zzcclp/spark,shuangshuangwang/spark,spark-test/spark,witgo/spark,taroplus/spark,goldmedal/spark,cloud-fan/spark,dongjoon-hyun/spark,zuotingbing/spark,skonto/spark,gengliangwang/spark,ConeyLiu/spark,darionyaphet/spark,skonto/spark,gengliangwang/spark,dongjoon-hyun/spark,goldmedal/spark,wangmiao1981/spark,holdenk/spark,HyukjinKwon/spark,wzhfy/spark,BryanCutler/spark,shaneknapp/spark,dbtsai/spark,srowen/spark,wangmiao1981/spark,zuotingbing/spark,spark-test/spark,shuangshuangwang/spark,shuangshuangwang/spark,dongjoon-hyun/spark,nchammas/spark,apache/spark,vinodkc/spark,ptkool/spark,JoshRosen/spark,BryanCutler/spark,zuotingbing/spark,nchammas/spark,zzcclp/spark,goldmedal/spark,shaneknapp/spark,vinodkc/spark,darionyaphet/spark,ptkool/spark,shaneknapp/spark,wzhfy/spark,darionyaphet/spark,goldmedal/spark,chuckchen/spark,spark-test/spark,witgo/spark,zzcclp/spark,milliman/spark,mahak/spark,ptkool/spark,JoshRosen/spark,mahak/spark,mahak/spark,mahak/spark,apache/spark,hvanhovell/spark,vinodkc/spark,cloud-fan/spark,milliman/spark,BryanCutler/spark,rednaxelafx/apache-spark,maropu/spark,ConeyLiu/spark,cloud-fan/spark,taroplus/spark,dongjoon-hyun/spark,ptkool/spark,kevinyu98/spark,jiangxb1987/spark,gengliangwang/spark,zzcclp/spark,xuanyuanking/spark,wangmiao1981/spark,zero323/spark,witgo/spark,hvanhovell/spark,JoshRosen/spark,srowen/spark,BryanCutler/spark,HyukjinKwon/spark,kevinyu98/spark,witgo/spark,maropu/spark,gengliangwang/spark,WeichenXu123/spark,holdenk/spark,apache/spark,ConeyLiu/spark,shuangshuangwang/spark,darionyaphet/spark,WeichenXu123/spark,ConeyLiu/spark,ConeyLiu/spark,cloud-fan/spark,vinodkc/spark,xuanyuanking/spark,dbtsai/spark,dbtsai/spark,witgo/spark,holdenk/spark,shaneknapp/spark,JoshRosen/spark,vinodkc/spark,jiangxb1987/spark,xuanyuanking/spark,hvanhovell/spark,wzhfy/spark,zero323/spark,skonto/spark,ConeyLiu/spark,srowen/spark,dbtsai/spark,xuanyuanking/spark,zzcclp/spark,spark-test/spark,HyukjinKwon/spark,wangmiao1981/spark,milliman/spark,BryanCutler/spark,chuckchen/spark,witgo/spark,ueshin/apache-spark,WeichenXu123/spark,dbtsai/spark,mahak/spark,dongjoon-hyun/spark,skonto/spark,wangyum/spark,srowen/spark,kevinyu98/spark,vinodkc/spark,milliman/spark,taroplus/spark