Machine learning (ML) is increasingly important in astrophysics, enabling the analysis of large, complex datasets for tasks such as stellar classification and gravitational wave detection. Yet many ML models are highly non-linear, with intricate feature interactions that make them difficult to interpret and often viewed as “black boxes.” Interpretability is therefore essential for ensuring trust, scientific validity, but also for uncovering new scientific insights.
Global feature effect methods address this by quantifying how input features influence model outputs on average. However, such explanations may be misleading when strong interactions cause individual behaviours to deviate from the average. Regional effect plots mitigate this by partitioning the feature space into more homogeneous subspaces, producing more accurate effect estimates.
This talk reviews global feature effect methods, introduces recent advances, and presents Effector, an open-source Python package for efficiently generating accurate global and regional feature effect plots.