Skip to content

Commit 8d09bce

Browse files
committed
🚀 new release + fix code formatting
1 parent 5190a37 commit 8d09bce

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
isort = isort powershap tests
2-
black = black powershap tests
1+
isort = poetry run isort powershap tests
2+
black = poetry run black powershap tests
33

44
.PHONY: format
55
format:
@@ -8,7 +8,7 @@ format:
88

99
.PHONY: lint
1010
lint:
11-
ruff powershap tests
11+
poetry run ruff powershap tests
1212
$(isort) --check-only --df
1313
$(black) --check --diff
1414

powershap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The init file for PowerShap
22

33
__author__ = "Jarne Verhaeghe, Jeroen Van Der Donckt"
4-
__version__ = "0.0.9"
4+
__version__ = "0.0.10"
55

66
from .powershap import PowerShap
77

powershap/shap_wrappers/shap_explainer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ def _fit_get_shap(self, X_train, Y_train, X_val, Y_val, random_seed, **kwargs) -
350350
import tensorflow as tf
351351

352352
# tf.compat.v1.disable_v2_behavior() # https://github.com/slundberg/shap/issues/2189
353-
354353
# Fit the model
355354
PowerShap_model = tf.keras.models.clone_model(self.model)
356355
metrics = kwargs.get("nn_metric")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "powershap"
3-
version = "0.0.9"
3+
version = "0.0.10"
44
description = "Feature selection using statistical significance of shap values"
55
authors = ["Jarne Verhaeghe, Jeroen Van Der Donckt"]
66
readme = "README.md"

tests/test_deep_learning_powershap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
# tf.compat.v1.enable_eager_execution()
1010

11+
1112
def test_deep_learning_class_powershap(dummy_classification):
1213
X, y = dummy_classification
1314
n_informative = sum([c.startswith("informative") for c in X.columns])

0 commit comments

Comments
 (0)