peal.adaptors.interfaces.Adaptor¶
- class peal.adaptors.interfaces.Adaptor[source]¶
Bases:
ABCAbstract base class of all adaptors.
Concrete adaptors (
CFKD,DiDAE,ClArC,GroupDRO, …) subclass this and implementrun, which performs the whole adaptation procedure (explaining the student, collecting feedback, fine-tuning) and writes its artifacts to the adaptor’s base directory.Methods
Run the adaptor.
- abstract run()[source]¶
Run the adaptor.
- Raises:
NotImplementedError – Always; subclasses must override this method.