calculate.ale.num.cat: Compute ALE for 2 features, one numerical, one categorical

View source: R/FeatureEffect-ale.R

calculate.ale.num.catR Documentation

Compute ALE for 2 features, one numerical, one categorical

Description

Compute ALE for 2 features, one numerical, one categorical

Usage

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

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 features for which to compute ALE

grid.dt

data.table with single column with grid values for the numerical feature


iml documentation built on May 29, 2024, 1:59 a.m.