Skip to contents

Explain Supervised Learning Model

Usage

explain(model, x, dat_training = NULL, method = NULL)

Arguments

model

Supervised object.

x

data.frame or similar: Data to explain.

dat_training

data.frame or similar: Training data.

method

Character: Method to use.

Value

Object depending on model: list, shapr, or other.

Details

The explain API is under development. Different models require different inputs. Currently, different explain methods output different objects. This will likely be replaced in the future using a custom S7 class.