facet#

Human-explainable AI.

This is the class and function reference of FACET for advanced model selection, inspection, and simulation.

The figure below provides a high level overview of the workflow when using FACET, and for each step in the workflow, a brief description.

../_images/Facet_flow.svg

Please refer to the tutorials for examples of using FACET classes and functions, and the release notes for recent API updates and bug fixes.

Submodules#

facet.data

Basic data management for FACET's enhanced machine learning workflow.

facet.explanation

Factory classes for common SHAP explainers.

facet.inspection

Learner inspection with standard local SHAP and global FACET metrics describing how features combine to contribute to all model predictions.

facet.selection

Learner selection with hyperparameter optimization.

facet.simulation

Historical univariate simulation of changes to predicted outcome(s) based on selected fixed values of a selected input feature.

facet.validation

Bootstrap cross-validation, including a stationary version for use with time series data.