Skip to content

Commit

Permalink
bump to version 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cwmeijer committed Apr 10, 2024
1 parent 04038c1 commit 194d064
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.4.0
current_version = 1.5.0

[comment]
comment = The contents of this file cannot be merged with that of setup.cfg until https://github.com/c4urself/bump2version/issues/185 is resolved
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ authors:
name-particle: "van der"

doi: 10.5281/zenodo.5801485
version: "1.4.0"
version: "1.5.0"
repository-code: "https://github.com/dianna-ai/dianna"
keywords:
- XAI
Expand Down
22 changes: 8 additions & 14 deletions dianna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@

__author__ = 'DIANNA Team'
__email__ = 'dianna-ai@esciencecenter.nl'
__version__ = '1.4.0'
__version__ = '1.5.0'


def explain_timeseries(model_or_function: Union[Callable, str],
input_timeseries: np.ndarray, method: str,
labels: Iterable[int],
**kwargs) -> np.ndarray:
labels: Iterable[int], **kwargs) -> np.ndarray:
"""Explain timeseries data given a model and a chosen method.
Args:
Expand All @@ -64,11 +63,9 @@ def explain_timeseries(model_or_function: Union[Callable, str],
**explain_timeseries_kwargs)


def explain_image(model_or_function: Union[Callable, str],
input_image: np.ndarray,
method: str,
labels: Iterable[int],
**kwargs) -> np.ndarray:
def explain_image(model_or_function: Union[Callable,
str], input_image: np.ndarray,
method: str, labels: Iterable[int], **kwargs) -> np.ndarray:
"""Explain an image (input_data) given a model and a chosen method.
Args:
Expand Down Expand Up @@ -97,12 +94,9 @@ def explain_image(model_or_function: Union[Callable, str],
**explain_image_kwargs)


def explain_text(model_or_function: Union[Callable, str],
input_text: str,
tokenizer,
method: str,
labels: Iterable[int],
**kwargs) -> list:
def explain_text(model_or_function: Union[Callable,
str], input_text: str, tokenizer,
method: str, labels: Iterable[int], **kwargs) -> list:
"""Explain text (input_text) given a model and a chosen method.
Args:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# built documents.
#
# The short X.Y version.
version = '1.4.0'
version = '1.5.0'
# The full version, including alpha/beta/rc tags.
release = version

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ name = dianna
project_urls =
Bug Tracker = https://github.com/dianna-ai/dianna/issues
url = https://github.com/dianna-ai/dianna
version = 1.4.0
version = 1.5.0
license = Apache License 2.0

[options]
Expand Down

0 comments on commit 194d064

Please sign in to comment.