Last active
May 15, 2024 03:09
-
-
Save psteinb/d04ed92eccbb2b34e9e50b5ba817a22b to your computer and use it in GitHub Desktop.
Example on how to use shap for sksurv's random survival forest
Hi @NafisAnwari
Did you able to solve the problem.
I am also having issues with implementation of survSHAP on custom data but not able to get the global or local explanation.
Do you have any suggestions or workaround for that?
Hi @NafisAnwari Did you able to solve the problem. I am also having issues with implementation of survSHAP on custom data but not able to get the global or local explanation. Do you have any suggestions or workaround for that?
Sorry I was not able to solve the problem.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the results said, Model type not yet supported by TreeExplainer: <class 'sksurv.ensemble.forest.RandomSurvivalForest'>.
There are some custom packages in Github that can use shap values from Random Survival Forest, but it is difficult to use your own parameters unless you know a good bit of coding.