diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 90ffc219..2642dd17 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -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 diff --git a/CITATION.cff b/CITATION.cff index 5da28820..f76223fb 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -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 diff --git a/dianna/__init__.py b/dianna/__init__.py index ab5d03b0..8070944d 100644 --- a/dianna/__init__.py +++ b/dianna/__init__.py @@ -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: @@ -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: @@ -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: diff --git a/docs/conf.py b/docs/conf.py index b3ae5ccd..4cedb864 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/setup.cfg b/setup.cfg index 96bfda18..596ba029 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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]