I have used XGBoost algorithm tried both eli5 and SHAP to interpret the results of the regression. I got some contradictory results, screenshots below.
I do not entirely understand the difference between eli5 and SHAP and I would like to find out which interpretation to rely more on. I would appreciate suggestions and insights into that.


It's probably impossible to say that one is more reliable than the other; it depends on what you're looking for. You could ask over at stats.SE or datascience.SE for some more detail about how
eli5andshapproduce their valuations. It appears thateli5.show_weightsis just delegating to xgboost's internal feature importances based on gain (by default), weight, or cover.All that said, these aren't contradictory. Both the
shapplot and theeli5weights suggest thatchassis_1is the more important variable: it has larger (in absolute values) shap values as well as a higher importance score.