vraven.decompiler · class
ContrastiveExplainer
ContrastiveExplainer()Public VRAVEN API symbol.
Usage
from vraven.decompiler import ContrastiveExplainer
value = ContrastiveExplainer(...)
Methods
explain(self, program: 'MechanismProgram', concept_values: 'Sequence[float] | np.ndarray', causal_graph: 'CausalMechanismGraph', *, alternative: 'int | None' = None, class_names: 'Mapping[int, str] | Sequence[str] | None' = None, maximum_items: 'int' = 5) -> 'ContrastiveExplanation'
Public method.
Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.