💎 API Reference#
This is the class and function reference of XAIoGraphs.
For more information, please refer to the whole User Guide because the class and function raw specifications might not be sufficient to provide comprehensive instructions on how to utilize them.
xaiographs.Explainer#
The Explainer class provides an abstract layer which encapsulates everything related to the explanation process from statistics calculation, importance calculation (using the engine chosen by the user) and information export for visualization tasks. |
xaiographs.Why#
This class is intended to provide an explanation on why a given case has been assigned a certain label (target value), combining case-specific reason (feature-value), model-specific reason (feature-value per target) and the target itself. |
xaiographs.Fairness#
The Fairness class offers functionalities to explain how fair or unfair are the classifications made by a (Deep) Machine Learning model on a set of features that we consider sensitive (gender, ethnic group, religion, age, etc.). |
xaiographs.datasets#
Returns Titanic dataset with the following Features: |
|
Returns titanic dataset (and other metadata) to be tested in xaiographs. |
|
Returns the necessary DataFrames to test the WHY module of XAIoGraphs with the explainability calculated with the Titanic dataset. |
|
Returns COMPAS dataset with the following Features: |
|
Returns COMPAS dataset (and other metadata) to be tested in xaiographs. |
|
Returns the necessary DataFrames to test the WHY module of XAIoGraphs with the explainability calculated with the COMPAS dataset. |
|
Returns COMPAS dataset (and other metadata) to be tested in xaiographs. |
|
Returns the necessary DataFrames to test the WHY module of XAIoGraphs with the explainability calculated with the COMPAS dataset. |
|
Returns body performance dataset with the following Features: |
|
Returns body performance dataset (and other metadata) to be tested in xaiographs. |
|
Returns the necessary DataFrames to test the WHY module of XAIoGraphs with the explainability calculated with the Body Performance dataset. |
|
Returns body performance dataset with the following Features: |
|
Returns education performance dataset (and other metadata) to be tested in xaiographs. |
|
Returns the necessary DataFrames to test the WHY module of XAIoGraphs with the explainability calculated with the Body Performance dataset. |