shapiq.explainer.tree.conversion.sklearn#
This module contains functions for converting scikit-learn decision trees to the format used by shapiq.
Functions
|
Transforms a scikit-learn random forest to the format used by shapiq. |
|
Convert a scikit-learn decision tree to the format used by shapiq. |
- shapiq.explainer.tree.conversion.sklearn.convert_sklearn_forest(tree_model, class_label=None)[source]#
Transforms a scikit-learn random forest to the format used by shapiq.