We trained our xgboost model in Scala API, saved the model. Then loaded into Python API, when scoring on the exact same record. The two predicted probability have a huge gap. Scala gives 0.005228, while Python gives 0.01544636. I thought its caused by the index difference (Python starts from 0 while Scala starts from 1), so I inserted a empty column at the beginning of my input data and scored again, still not match. Did anyone else have this issue? Can someone help take a look? Thanks in advance and appreciate your response!
I saw a similar thread on GitHub:
Best,
Wei