Closed gverbock closed 2 years ago
There is already a default sample size defined:
If the number of columns is lower than the sample_size
, it will take 20% of the number of cols (that's how I read it).
For the typo.. open a PR ! :)
@timvink That's true but I believe it should take 20% of the number of rows
and not columns.
@Matgrb @timvink I saw I messed-up the pipeline (sorry about that). What is the best option? Revert the previous merge and re-open this issue or create a new issue?
No worries Gilles! If you would like to fix the pipeline and test the fix, you can make a PR that implements it and see if tests succeed :)
When looking at the
utils/shap_helpers.py
I see that a mask is defined. However, if I am right, the mask is defined on the number col columns while it should be the number of row.I would propose the followoing change
Would become
Also:
There is a typo in model_interpret.py on row 99.
Should be neither