Skip to content

Commit 71302ac

Browse files
committed
fix a bug of default algorithm
1 parent aba3296 commit 71302ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fasttreeshap/explainers/_explainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Explainer(Serializable):
2222
the particular estimation algorithm that was chosen.
2323
"""
2424

25-
def __init__(self, model, masker=None, link=links.identity, algorithm="auto", output_names=None, feature_names=None, linearize_link=True, **kwargs):
25+
def __init__(self, model, masker=None, link=links.identity, algorithm="tree", output_names=None, feature_names=None, linearize_link=True, **kwargs):
2626
""" Build a new explainer for the passed model.
2727
2828
Parameters

0 commit comments

Comments
 (0)