spim_simulation_shaps: Calculate SHAPs over predicted states

View source: R/simulate.R

spim_simulation_shapsR Documentation

Calculate SHAPs over predicted states

Description

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).

Usage

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


mrc-ide/spimalot documentation built on Oct. 15, 2024, 12:15 p.m.