Skip to content

Instantly share code, notes, and snippets.

@L-Ramos
Last active February 14, 2022 23:35
Show Gist options
  • Save L-Ramos/743319d0c405b386d481c924e0fc6789 to your computer and use it in GitHub Desktop.
Save L-Ramos/743319d0c405b386d481c924e0fc6789 to your computer and use it in GitHub Desktop.
shap_cross_validation.ipynb
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Hadjimina
Copy link

shouldn't we concatenate on axis=0 when we are putting it together again?
i.e.

shap_values = np.concatenate((shap_values,np.array(list_shap_values[i])),axis=0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment