mrFlashlight: Wrapper to run mutlti-response model agnostic interpretable machine learning analyses.

mrFlashlight(
  yhats,
  X,
  Y,
  response = "multi",
  index = 1,
  model = "regression",
  predict_function = NULL
)

Arguments

yhats

A list is the list generated by mrIMLpredicts

X

A dataframe is a response variable data set (species, OTUs, SNPs etc)

Y

A dataframe #is the feature dataset

response

character 'single' selects one response, 'multi' selects all responses

index

numeric selects which response to create a flaslight object for. Only used when 'single' is selcted. The order is the same as 'X'.

predict_function

function user specified predict function

Details

The aim of this function is to enable users to ustilize interpretable machine learning methods to understand their multi-response and single response models