fmeffects: An R Package for Forward Marginal Effects
Abstract
Forward marginal effects have recently been introduced as a versatile and effective model-agnostic interpretation method particularly suited for non-linear and non-parametric prediction models. They provide comprehensible model explanations of the form: if we change feature values by a pre-specified step size, what is the change in the predicted outcome? We present the R package fmeffects, the first software implementation of the theory surrounding forward marginal effects. The relevant theoretical background, package functionality and handling, as well as the software design and options for future extensions are discussed in this paper.
- Publication:
-
arXiv e-prints
- Pub Date:
- October 2023
- DOI:
- arXiv:
- arXiv:2310.02008
- Bibcode:
- 2023arXiv231002008L
- Keywords:
-
- Computer Science - Machine Learning;
- Economics - Econometrics;
- Statistics - Machine Learning