引言
主题概述
示例
表格示例
文本示例
图像示例
基因组学示例
参考
API 参考
解释
解释器
绘图
掩码器
模型
工具
shap.utils.hclust
shap.utils.hclust_ordering
shap.utils.partition_tree
shap.utils.partition_tree_shuffle
shap.utils.delta_minimization_order
shap.utils.approximate_interactions
shap.utils.potential_interactions
shap.utils.sample
shap.utils.shapley_coefficients
shap.utils.convert_name
shap.utils.OpChain
shap.utils.show_progress
shap.utils.MaskedModel
shap.utils.make_masks
数据集
API 示例
基准测试
开发
发布说明
贡献指南
SHAP
API 参考
shap.utils.partition_tree
查看页面源代码
shap.utils.partition_tree
shap.utils.
partition_tree
(
X
:
DataFrame
,
metric
:
str
=
'correlation'
)
→
ndarray
[
Any
,
dtype
[
Any
]
]