Example: Johnny D

For the random forest model titanic_rf and the Titanic data based on 25 random orderings.

scales::percent(25/factorial(7),
                accuracy = 0.01)
## [1] "0.50%"
Variable Shapley value
age = 8 0.2525
class = 1st 0.0246
embarked = Southampton -0.0032
fare = 72 0.0140
gender = male -0.0943
parch = 0 -0.0097
sibsp = 0 0.0027