Learn R Programming

iml (version 0.11.2)

calculate.ale.cat: Compute ALE for 1 categorical feature

Description

Compute ALE for 1 categorical feature

Usage

calculate.ale.cat(dat, run.prediction, feature.name)

Arguments

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