API Reference
This section contains the complete API reference for FDFI, auto-generated from the source code docstrings.
Overview
FDFI provides the following main modules:
- Explainers (
fdfi.explainers) Core explainer classes for computing feature importance. Includes base
Explainerclass, specialized explainers (TreeExplainer,LinearExplainer,KernelExplainer), optimal transport-based explainers (OTExplainer,EOTExplainer), flow-based DFI (FlowExplainer), and cross-fitted inference (Crossfitting).- Plotting (
fdfi.plots) Visualization functions for feature importance including summary plots, waterfall plots, force plots, and dependence plots.
- Utilities (
fdfi.utils) Helper functions for input validation, data sampling, feature name management, and statistical utilities like the
TwoComponentMixtureclass for variance floor estimation.