calculate.ale.num: Compute ALE for 1 numerical feature

View source: R/FeatureEffect-ale.R

calculate.ale.numR Documentation

Compute ALE for 1 numerical feature

Description

Compute ALE for 1 numerical feature

Usage

## S3 method for class 'ale.num'
calculate(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 feature for which to compute ALE

grid.dt

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


christophM/iml documentation built on April 27, 2024, 11:24 p.m.