Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dianna-ai/dianna into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cwmeijer committed Apr 4, 2023
2 parents 9d389c8 + a92dd4f commit 1737bb8
Show file tree
Hide file tree
Showing 2 changed files with 452 additions and 1,455 deletions.
4 changes: 2 additions & 2 deletions dianna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ def explain_timeseries(model_or_function, timeseries_data, method, labels, **kwa
"""
explainer = _get_explainer(method, kwargs, modality="Timeseries")
explain_image_kwargs = utils.get_kwargs_applicable_to_function(explainer.explain, kwargs)
explain_timeseries_kwargs = utils.get_kwargs_applicable_to_function(explainer.explain, kwargs)
return explainer.explain(model_or_function,
timeseries_data,
labels,
**explain_image_kwargs)
**explain_timeseries_kwargs)


def explain_image(model_or_function, input_data, method, labels, **kwargs):
Expand Down
Loading

0 comments on commit 1737bb8

Please sign in to comment.