peal.adaptors.interfaces

Base interfaces shared by every PEAL adaptor.

An adaptor is a procedure that repairs (adapts) a trained classifier, e.g. CFKD, DiDAE, ClArC or GroupDRO. This module holds the abstract Adaptor class every concrete adaptor derives from and the AdaptorConfig pydantic model that carries the config keys common to all of them (adaptor_type, seed, tracking_level, …). Concrete adaptor configs extend it.

Classes

Adaptor

Abstract base class of all adaptors.

AdaptorConfig

The config template for an adaptor.