Skip to contents

Run local explanation methods for individual data points

Usage

mrLocalExplainer(X, Model, Y)

Arguments

X

A dataframe data frame of predictor variables

Model

A workflow workflow object containing the machine learning model

Y

vector vector containing the outcome for each data instance

Examples

#mrLocalExplainer(X = data, Model = yhats, Y = data$Class)
## will return matrix of phi values, individualized and aggregated plots