cs.LGApr 3, 2024

Effector: A Python Package for Global and Regional Feature Effects

Authors: Vasilis Gkolemis, Christos Diou, Dimitris Kyriakopoulos, Konstantinos Tsopelas, Julia Herbinger, Hubert Baniecki, Dimitrios Rontogiannis, Loukas Kavouras, 

Organizations: Harokopio University of Athens · ATHENA Research Center · Leibniz Institute for Prevention Research and Epidemiology - BIPS · University of Warsaw · 

Abstract

Effector is a Python package for interpreting machine learning (ML) models that are trained on tabular data through global and regional feature effects. Global effects, like Partial Dependence Plot (PDP) and Accumulated Local Effects (ALE), are widely used for explaining tabular ML models due to their simplicity -- each feature's average influence on the prediction is summarized by a single 1D plot. However, when features are interacting, global effects can be misleading. Regional effects address this by partitioning the input space into disjoint subregions with minimal interactions within each and computing a separate regional effect per subspace. Regional effects are then visualized by a set of 1D plots per feature. Effector provides efficient implementations of state-of-the-art global and regional feature effects methods under a unified API. The package integrates seamlessly with major ML libraries like scikit-learn and PyTorch. It is designed to be modular and extensible, and comes with comprehensive documentation and tutorials. Effector is an open-source project publicly available on Github at https://github.com/givasile/effector.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Analyzing Error Sources in Global Feature Effect Estimation

    Mar 16, 2026Timo Heiß, Coco Bögel, Bernd Bischl +1Statistical Learning Theory

  2. Woodelf++: A Fast and Unified Partial Dependence Plot Algorithm for Decision Tree Ensembles

    May 14, 2026Ron Wettenstein, Alexander Nadel, Udi BokerFeature Interaction ModelingFeature Interaction Attribution