Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ENH: add `quantile`

オープン
#340 コメント 38 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
28/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, scikit-learn
領域
data

調査の方向性

実装ファイルやテストは指定されていません。まずこの RFC の議論とリンクされた array-api および scikit-learn の issue を確認し、その後、関連する実装とテストを探す前に、メソッド、重み、および NaN の扱いに関する想定されるスコープを明確にしてください。合意されたスコープと、それに対応するカバレッジを伴う一貫した分位点の挙動が確立されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement new function

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
フォーク
32
平均マージ
1時間 33分
マージ済み PR(30日)
40

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

data-apis/array-api-extra のほかの issue

data-apis/array-api-extra の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。