More precise mean_var for non-Dask dense arrays?
まだ誰も着手していません。
評価
調査の方向性
まず、src/fast_array_utils/stats/_mean_var.py の40行目付近と、#127 で説明されている変更を読んでください。dense-in-core、Dask、sparse-in-core の各パスを比較し、float32 と float64 のべき乗計算の違いと、一時的なアロケーションに注目してください。dense array に対する1つの精度戦略を選択して文書化し、そのメモリとパフォーマンスのトレードオフが明確になっていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In #127, I changed how mean_var works just for Dask:
We already have a custom numba implementation for sparse-in-core which operates on float64s, but doesn’t convert everything at once.
We could make the change also affect dense-in-core. Should we
- leave things as they are and keep
powerfor float32 dense arrays as float32? It takes less space and is faster, but less precise. - do exponentiation in 64 bit everywhere? this would allocate an exponentiated array of the input size in 64 bit, but I guess if people’s machines can handle a temporary 2n (prod(shape)×32×2), they can handle a temporary 3n (prod(shape)×32 + prod(shape)×64)?
- implement a custom numba implementation for dense-in-core as well?
- 主要言語
- Python
- スター
- 15
- フォーク
- 5
- 平均マージ
- 10時間 33分
- マージ済み PR(30日)
- 9
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scverse/fast-array-utils のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 74/100
scverse/fast-array-utils#165 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
scverse/fast-array-utils#215 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
scverse/fast-array-utils#213 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
scverse/fast-array-utils#179 · コメント 23 件 ·
-
good first issue
難易度 3/5 半日 初心者へのやさしさ 38/100
scverse/fast-array-utils#100 · コメント 4 件 ·
scverse/fast-array-utils の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·