ENH: add `quantile`
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 28/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python, scikit-learn
- 領域
- data
研究方向
未指定實作檔案或測試。先從此 RFC 的討論以及連結的 array-api 和 scikit-learn issues 開始,然後在找出相關實作和測試之前,明確方法、權重和 NaN 處理方面的預期範圍。達成共識的範圍,並具有涵蓋程度相符的一致分位數行為,即視為完成。
由索引模型根據 Issue 內容生成。
描述
It was decided not to add quantile to array-api (https://github.com/data-apis/array-api/issues/795), partly because scipy added array API support to their quantile (https://github.com/scipy/scipy/pull/22352) and partly due to complications (many methods, weight support, nan support).
This RFC is mostly motivated by usage in scikit-learn (as seen from https://github.com/data-apis/array-api/issues/795#issuecomment-2090852426 its not used much in other packages).
Although scipy does have an array API quantile, due to our min scipy version, we are currently not able to use it (e.g., https://github.com/scikit-learn/scikit-learn/pull/31671).
More generally, it seems to be a commonly enough used function (which is implemented many array libraries) to warrant considering adding it to here, and having a consistent, single source.
Not sure who would be interested but maybe:
cc @betatim @ogrisel @lorentzenchr (and @rgommers who suggested it)
- 主要語言
- Python
- 星號
- 33
- 分支
- 33
- 平均合併
- 1 小時 37 分鐘
- 30 天內合併 PR
- 38
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
data-apis/array-api-extra 的其他 Issue
-
enhancement new function
難度 2/5 1-3 小時 新手友好度 72/100
data-apis/array-api-extra#992 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 35/100
data-apis/array-api-extra#1002 ·
維護者通常 1 天內回覆
-
testing
難度 3/5 1-2 天 新手友好度 55/100
data-apis/array-api-extra#901 · 3 則留言 ·
維護者通常 1 天內回覆
-
testing upstream issue
難度 3/5 1-2 天 新手友好度 45/100
data-apis/array-api-extra#900 · 8 則留言 ·
維護者通常 1 天內回覆
-
blocked testing xpx.testing
難度 5/5 一週以上 新手友好度 30/100
data-apis/array-api-extra#833 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
查看 data-apis/array-api-extra 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
letsencrypt/cp-cps#353 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
DOI-USGS/pywatershed#421 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
python-pillow/Pillow#10087 · 1 則留言 ·
維護者通常 1 天內回覆