I'm trying to use eli5.show_prediction to explain feature importance at the record level. Below is part of the results I'm getting.
The raw score value shown below is -0.329, which corresponds to probability value exp(-0.329)/(exp(-0.329) + 1) = 0.418484. However, the probability I calculated for this record using my XGB model turns out to be 0.8953. Is this different expected? I used weight when building my XGB model, I wonder whether that's the issue.
Additionally, I used 100~ish features in my XGB model, but the eli5.show_prediction only show feature importance of the top 70. What should I do in order to let the program output feature importance for all ~100 features?
I'm trying to use eli5.show_prediction to explain feature importance at the record level. Below is part of the results I'm getting.
The raw score value shown below is -0.329, which corresponds to probability value exp(-0.329)/(exp(-0.329) + 1) = 0.418484. However, the probability I calculated for this record using my XGB model turns out to be 0.8953. Is this different expected? I used weight when building my XGB model, I wonder whether that's the issue.
Additionally, I used 100~ish features in my XGB model, but the eli5.show_prediction only show feature importance of the top 70. What should I do in order to let the program output feature importance for all ~100 features?
.... more results..._