We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41b44dd commit a70615aCopy full SHA for a70615a
tests/test_shap_explainer.py
@@ -167,8 +167,8 @@ def test_get_pipeline_explainer():
167
168
for model_class in model_classes:
169
DummyScaler = FunctionTransformer(lambda x: x)
170
- explainer = ShapExplainerFactory.get_explainer(make_pipeline(DummyScaler, model_class))
171
-
+ explainer = ShapExplainerFactory.get_explainer(make_pipeline(DummyScaler, model_class()))
+
172
assert isinstance(explainer, PipelineExplainer)
173
174
0 commit comments