innvestigate¶
-
innvestigate.analyzer.
create_analyzer
(name, model, **kwargs)¶ Instantiates the analyzer with the name ‘name’
This convenience function takes an analyzer name creates the respective analyzer.
Alternatively analyzers can be created directly by instantiating the respective classes.
Parameters: - name – Name of the analyzer.
- model – The model to analyze, passed to the analyzer’s __init__.
- kwargs – Additional parameters for the analyzer’s .
Returns: An instance of the chosen analyzer.
Raises: KeyError – If there is no analyzer with the passed name.