The predict() method of XGBoost Python can generate only prediction or feature importance(by passing the argument “predict_contribs=True” )
When i sum up the feature importance(SHAP values) it does not match with the predicted value.
How can i calculate the predicted value from the feature importance? What is the role of Bias value?
What function has been used to calculate the feature importance through the Spark API of XGBoost. The value doesnot match with the SHAP value using import shap in python