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

View source: R/FeatureEffect-ale.R

calculate.ale.catR Documentation

Compute ALE for 1 categorical feature

Description

Compute ALE for 1 categorical feature

Usage

## S3 method for class 'ale.cat'
calculate(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


iml documentation built on April 3, 2025, 9 p.m.