Link Search Menu Expand Document
PyXAI
Papers Video GitHub In-the-Loop EXPEKCTATION Release Notes About

Classes

Learning

Class Role
Learner Base class for training models and selecting instances.
LearnerInformation Holds metadata about a dataset, a training run, and the resulting model.
Scikitlearn Learner subclass backed by Scikit-learn.
Xgboost Learner subclass backed by XGBoost.
LightGBM Learner subclass backed by LightGBM.
TabularPreprocessor Preprocesses tabular datasets (encoding, scaling, splitting).
NonTabularPreprocessor Preprocesses non-tabular datasets (images, time series).
ModelIO Imports, saves, and loads models.

Explaining

Class Role
Explainer Base class for all explainers; use Explaining.initialize to get the right subclass.
ExplainerDT Explainer for Decision Tree models.
ExplainerRF Explainer for Random Forest models.
ExplainerBT Explainer for Boosted Tree classification models.
ExplainerRegressionBT Explainer for Boosted Tree regression models.
Visualisation Displays explanations in a notebook, on screen, or via the GUI.

Builder

Class Role
DecisionNode A node in a decision tree (condition of the form feature ≥ threshold).
LeafNode A leaf in a decision tree (class label or regression value).
DecisionTree A single decision tree built from nodes and leaves.
RandomForest A set of DecisionTree objects forming a Random Forest.
BoostedTrees A set of DecisionTree objects forming a Boosted Trees classifier.
BoostedTreesRegression A set of DecisionTree objects forming a Boosted Trees regressor.

Table of contents