lczerolens.concepts.threat#
All concepts related to threats.
- class lczerolens.concepts.threat.HasMateThreat#
Bases:
BinaryConceptClass for material concept-based XAI methods.
- compute_label(board: LczeroBoard) int#
Compute the label for a given model and input.
- class lczerolens.concepts.threat.HasThreat(piece: str, relative: bool = True)#
Bases:
BinaryConceptClass for material concept-based XAI methods.
- compute_label(board: LczeroBoard) int#
Compute the label for a given model and input.