Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Can't be used with the latest `shap` package because of the `slicer` version conflict

未关闭
#36 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

首先定位 FastTreeSHAP 的依赖声明,并检查其固定的 slicer 版本如何与 shap 0.46.0 一起解析。确认该软件包可以与 slicer 0.0.8 一起安装,并且依赖元数据或相关的安装检查表明冲突已解决。

由索引模型根据 Issue 内容生成。

描述

Hello,

FastTreeSHAP package has a pinned version of the slicer to 0.0.7 and it blocks an update of the shap package to the latest version (which requires slicer==0.0.8).

An example of the error:

poetry add shap@latest
Using version ^0.46.0 for shap

Updating dependencies
Resolving dependencies... (0.1s)

Because no versions of shap match >0.46.0,<0.47.0
 and shap (0.46.0) depends on slicer (0.0.8), shap (>=0.46.0,<0.47.0) requires slicer (0.0.8).
And because fasttreeshap (0.1.6) depends on slicer (0.0.7)
 and no versions of fasttreeshap match >0.1.6,<0.2.0, shap (>=0.46.0,<0.47.0) is incompatible with fasttreeshap (>=0.1.6,<0.2.0).

Would it be possible to make an update to be able to use FastTreeSHAP with slicer==0.0.8?
Slicer release : https://github.com/interpretml/slicer/releases/tag/v0.0.8

Thanks!

主要语言
Python
星标
566
派生
38
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linkedin/FastTreeSHAP 的其他 Issue

查看 linkedin/FastTreeSHAP 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。