Closed chenxiang3luo closed 3 months ago
Hi @chenxiang3luo -- We currently disable pairs for interactions because of the difficulty of visualizing the resulting EBM. If you don't mind losing some of the global interpretability though, it is possible to re-enable this by commenting out this section:
The other option, if you would prefer not to modify the interpret code, is to use the measure_interactions function. Here's a notebook showing how to detect the interactions manually:
https://interpret.ml/docs/python/examples/custom-interactions.html
Ok I got it. Thank you very much!
Hi, I was trying to change the interactions paramenter under a muti-class dataset. However, the results were same when I set the interactions=0 and interactions =10. Also, when I used the show(ebm.explain_global()), there were not interated features. I wander know if interaction is not fit to multi-class datasets? or Do I need to do other things to fix it. By the way, I could use it correctly under binary-class datasets.