How to execute a differentially private `Count` on a dataset of non-numeric values
还没有人认领这个 Issue。
评估
调研方向
Start with pydp.algorithms.laplacian.Count and the Input call that produces the CountInt.result error. Check the Python wrapper's accepted argument types and related differential-privacy Count documentation. Done means resolving whether non-numeric values are supported and documenting or tracking the required change.
由索引模型根据 Issue 内容生成。
描述
Question
How can I use the pydp.algorithms.laplacian.Count object with a set of non-numeric values?
When I try to use this object over an Input of ["A", "B", "C"] I get this output
TypeError: result(): incompatible function arguments. The following argument types are supported:
1. (self: _algorithms.CountInt, arg0: List[int]) -> int
Invoked with: <_algorithms.CountInt object at 0x11285a1f0>, ['A', 'B', 'C']
Is there a way to execute this action?
Thanks
- 主要语言
- Python
- 星标
- 550
- 派生
- 142
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenMined/PyDP 的其他 Issue
-
Type: New Feature :heavy_plus_sign:
难度 4/5 3-5 天 新手友好度 45/100
-
Type: Question :grey_question:
难度 3/5 1-2 天 新手友好度 25/100
-
Type: Question :grey_question:
难度 4/5 3-5 天 新手友好度 32/100
-
Type: Improvement :chart_with_upwards_trend:
难度 3/5 1-2 天 新手友好度 35/100
-
Type: New Feature :heavy_plus_sign:
难度 3/5 1-2 天 新手友好度 38/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
instance instance add
难度 2/5 1-3 小时 新手友好度 68/100
searxng/searx-instances#941 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
FluidNumerics/fluid-walk-blocker#89 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复