Error when calculating SHAP value in xgboost model – feature names are different?
I have trained an XGBoost model using caret and now, I am calculating the mean SHAP value of each predictor using the package SHAPforxgboost, using the following code: