calculate.ale.cat {iml} | R Documentation |
Compute ALE for 1 categorical feature
calculate.ale.cat(dat, run.prediction, feature.name)
dat |
the data.frame with same columns as training data |
run.prediction |
Predict function of type: f(newdata) |
feature.name |
The column name of the feature for which to compute ALE |