Calculate SHAPs from a tidy summary of predictions over various features. SHAPs calculated as the expected difference in predicted states with and without the given feature of interest (over all feature levels).

spim_simulation_shaps(summary, feats = NULL)

Arguments

summary

A tidy summary object such as that returned by create_summary

feats

Features to calculate SHAPS for. If NULL then uses default selection returned by spim_simulation_predictors