Concepts module.
Material Concepts
All concepts related to material.
-
class lczerolens.xai.HasPieceConcept(piece: str, relative: bool = True)
Class for material concept-based XAI methods.
-
compute_label(board: Board) → int
Compute the label for a given model and input.
-
class lczerolens.xai.HasMaterialAdvantageConcept(relative: bool = True)
Class for material concept-based XAI methods.
-
piece_values
The piece values.
- Type:
Dict[int, int]
-
compute_label(board: Board, piece_values: Dict[int, int] | None = None) → int
Compute the label for a given model and input.