Learn R Programming

iml (version 0.11.1)

calculate.ale.num.num: Compute ALE for 2 numerical features

Description

Compute ALE for 2 numerical features

Usage

calculate.ale.num.num(dat, run.prediction, feature.name, grid.dt1, grid.dt2)

Arguments

dat

the data.frame with same columns as training data

run.prediction

Predict function of type: f(newdata)

feature.name

The column names of the feature for which to compute ALE

grid.dt1

Data.table with single column with the grid value for feature 1

grid.dt2

Data.table with single column with the grid value for feature 2