NatCap
March 10, 2022, 5:57am
1
Hi,
Following up on this post
Hi all,
I've been using the 'Ranger' random forest package alongside packages such as 'treeshap' to get Shapley values.
Yet, one thing I've noticed is that I am unable obtain the SHAP summary plot, typically known as the 'beeswarm' plot by using this package (or any random forest Shapley packages I could find online).
I wondered therefore if there was an equivalent package for random forest modelling to something like 'SHAPforXGboost' in which the beeswarm/summary plot was obtainable?
Any equivalent code equivalent to XGboost that would be suitable for Ranger would be greatly appreciated.
SHAP Visualization in R (first post) | Welcome to my blog
library(SHAPforxgboost)
library(xgboost)…
I want to do a SHAP summary plot for Random Forest and can see how it is done in ShapforXgboost. Is there a function to do it with RF? One way may be to prepare output from a Shapley function that can be applied to RF model that can be used as an input into the Shap summary plot in SHAPforXGboost.
Ta
system
Closed
March 31, 2022, 5:57am
2
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.