resp_maps¶
Classes¶
Module Contents¶
- class resp_maps.ResponsibilityMaps(style, height, width, depth=None)¶
- maps¶
- counts¶
- style¶
- height¶
- width¶
- depth = None¶
- get(k, increment=False)¶
- items()¶
- keys()¶
- len()¶
- __local_update(k, v)¶
- merge(maps)¶
- negative_responsibility(target)¶
- responsibility(mutant, args)¶
- Parameters:
mutant (rex_xai.mutants.mutant.Mutant)
args (rex_xai.input.config.CausalArgs)
- update_maps(mutants, args, data, search_tree)¶
Update the different responsibility maps with all passing mutants <mutants> @params mutants: list of mutants @params args: causal args @params data: data @params search_tree: tree of boxes
Mutates in place, does not return a value
- Parameters:
mutants (List[rex_xai.mutants.mutant.Mutant])
args (rex_xai.input.config.CausalArgs)
data (rex_xai.input.input_data.Data)
- subset(id)¶