pyhealth.interpret.methods.lime#

Overview#

pyhealth.interpret.methods.lime.LimeExplainer provides LIME (Local Interpretable Model-agnostic Explanations) attributions for PyHealth models by approximating the model locally with an interpretable linear model. Consult the class docstring for detailed guidance, usage notes, and examples. A full workflow is demonstrated in examples/lime_stagenet_mimic4.py.

API Reference#

pyhealth.interpret.methods.lime.LimeExplainer#

alias of Lime