Closed pbiecek closed 4 years ago
You have made johny_d with wrong column order, therefore shap returned NA.
We have added exception for such a situation, thanks for that!
Thanks, indeed it was the problem. But maybe instead of rising an error you can fix the order of variables, in the same way as it is done for iBreakDown lines 109-112 https://github.com/ModelOriented/iBreakDown/blob/master/R/local_attributions.R#L109 ?
Rising an error fixses a problem when user have made typo.
Any idea why results for the titanic are so strange?