shap.utils.OpChain
- class shap.utils.OpChain(root_name: str = '')
A way to represent a set of dot chained operations on an object without actually running them.
- __init__(root_name: str = '') None
Methods
__init__([root_name])apply(obj)Applies all our ops to the given object, usually an
Explanationinstance.- apply(obj: Any) Any
Applies all our ops to the given object, usually an
Explanationinstance.