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

View source: R/FeatureEffect-ale.R

calculate.ale.num.numR Documentation

Compute ALE for 2 numerical features

Description

Compute ALE for 2 numerical features

Usage

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


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