Skip to content

Commit

Permalink
Merge pull request #540 from dianna-ai/539-polish_notebook_RISE_times…
Browse files Browse the repository at this point in the history
…eries

539 polish notebook rise timeseries
  • Loading branch information
cwmeijer authored Apr 4, 2023
2 parents 7987e51 + b0dacc1 commit a92dd4f
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 a92dd4f

Please sign in to comment.