Skip to content

Commit 407ba3d

Browse files
committed
Update CF tests
1 parent 3137919 commit 407ba3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_counterfactualexplainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_counterfactual_match():
5555
center = 500.0
5656
epsilon = 10.0
5757

58-
explainer = CounterfactualExplainer()
58+
explainer = CounterfactualExplainer(steps=10000)
5959

6060
prediction = counterfactual_prediction(
6161
input_features=features,
@@ -90,7 +90,7 @@ def test_counterfactual_match_python_model():
9090
]
9191
domains = [(0.0, 1000.0)] * n_features
9292

93-
explainer = CounterfactualExplainer(steps=10000)
93+
explainer = CounterfactualExplainer(steps=1000)
9494

9595
prediction = counterfactual_prediction(
9696
input_features=features,

0 commit comments

Comments
 (0)