fairml
fairml copied to clipboard
ValueError: cannot reshape array of size 34712 into shape (17356,)
Hi @adebayoj
I just tried to use Fairml to explain my XGBoost Model, and I got the aforementioned error.
I think the error is logical, because in the mse function, I think you are doing the reshape as if it was only a one class situation. However, for my case the output_constant_col and the normal_black_box_output is of size (17356,2). So I am working in a 2 class classification scenario.
Any ideas how to overcome the error mentioned?
Thanks.
Hi @Dola47, thanks for raising this issue. I'll double check your example. I am currently in the midst of a deadline right now, so I'll get to this in about a week.
Overall, this library is going to undergo an overhaul over the summer, so keep an eye out.
Thanks!