Creating oscillations uniform
oscillations_uniform <- predict_parts(explainer = explain_rf,
new_observation = henry,
type = "oscillations_uni")
oscillations_uniform
## _vname_ _ids_ oscillations
## 2 gender 1 0.33700000
## 4 sibsp 1 0.16859406
## 3 age 1 0.16643564
## 1 class 1 0.14257143
## 6 fare 1 0.09942574
## 7 embarked 1 0.02400000
## 5 parch 1 0.01031683