shap.utils.partition_tree

shap.utils.partition_tree(X: DataFrame, metric: str = 'correlation') ndarray[Any, dtype[Any]]