NorskRegnesentral / shapr

Explaining the output of machine learning models with more accurately estimated Shapley values
https://norskregnesentral.github.io/shapr/
Other
138 stars 32 forks source link

Fixed bug with "keep_samp_for_vS"… #349

Closed LHBO closed 1 year ago

LHBO commented 1 year ago

…in the internal function postprocess_vS_list() which occured if keep_samp_for_vS = TRUE in the explain() function. Previously, the code did not take into consideration that vS_list became a list of lists when keep_samp_for_vS = TRUE and therefore extracted incorrect names.