Skip to content

Commit

Permalink
Updated the dtreeviz object to complice with dtreeviz v2.0.0 (#244)
Browse files Browse the repository at this point in the history
* Updated the dtreeviz object to complice with dtreeviz v2.0.0

* Update dtreeviz import to be compatible with dtreeviz v2.0.0 and previous versions

* Updated ShadowDecTree import method

Co-authored-by: haizad <mhaizad.mtarik@petronas.com.my>
  • Loading branch information
haizadtarik and haizad committed Dec 31, 2022
1 parent 7d67e8f commit f6998cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion explainerdashboard/explainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

import shap

from dtreeviz.trees import ShadowDecTree, dtreeviz
from dtreeviz import *
from dtreeviz.models.shadow_decision_tree import ShadowDecTree

from sklearn.model_selection import KFold
from sklearn.base import clone
Expand Down

0 comments on commit f6998cb

Please sign in to comment.