I created a binary classification tree in python with XGboost and converted sum of leaf values to probability using logistic function.
The values are matching with XGboost predict proba function results when the base_score is 0.5.
When I change the base_score to any other value the my calculation doesn’t match with the result from predict proba function.
I have gone through other questions and found that we have to manually add the base_score value to the sum of the leaf values but still the result doesn’t match. Could you explain why ?