3
$\begingroup$

Based on my model, if I decline someone due to their score, it should be able to provide some reasoning as to which variables mainly contributed to the decision to decline.

Typically in Logistic Regression models, this is a simple exercise where you calculate (Beta * X) for each variable and pick 1 or 2 variables which caused the biggest score drop.

However, this isn't very straightforward for non-linear models. I would appreciate any ideas on handling something like this. Thanks.

$\endgroup$
1
  • $\begingroup$ DO you mean saying something like "If you could improve your $X$ and $Y$ a little bit, that would help immensely, but don't worry so much about $Z$," or getting confidence intervals (or p-values) on the parameters of a nonlinear regression equation? $\endgroup$
    – Dave
    Mar 12, 2020 at 10:30

2 Answers 2

0
$\begingroup$

Try LIME. In other words, compute local representation of your global highly nonlinear model for a given observation. This local proxy should be simple enough to be explainable as well. Decision trees or simple linear regressions are good choices.

$\endgroup$
0
$\begingroup$

Try Eli5

from eli5 import show_weights,show_prediction
show_weights(model)

show_prediction(model,data_point)

Another ways are Lime and SHAP

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.