API reference¶
Generated from the docstrings of the peal package. Only first-party code
is listed; the vendored research code under peal/dependencies/ keeps its
own documentation.
Adaptors: the procedures that repair a predictor from explanation feedback. |
|
Predictor architectures and the building blocks they are assembled from. |
|
Datasets, dataloaders and the |
|
Editors: latent-inversion recipes applied to an existing image. |
|
Command-line entry points of PEAL. |
|
Explainers: methods that explain a predictor's decisions. |
|
Generative models that render the counterfactuals the explainers need. |
|
Sparse dictionaries: concept bases over an encoder's activation space. |
|
Teachers: the sources of feedback an adaptor learns from. |
|
Training of predictors: trainers, criterions, loggers and their configs. |
|
Rendering helpers the pipeline uses, plus the DiDAE table-1 script. |
|
PEAL web demo: upload an ONNX classifier and a zipped image-folder dataset, get the DiDAE Clever Hans analysis and a corrected classifier back. |
|
Cross-cutting helpers shared by the whole PEAL library. |
|
Check whether a run config could run, without starting it. |