Hexbin & scatter plot performance
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- matplotlib, python
調査の方向性
この issue では plt.hexbin を挙げ、異なる点数とビン数に対する実行時間を報告していますが、プロジェクトのファイル、テスト、または要求されたコード変更については何も記載されていません。まず、issue に記載されたベンチマークを再現してください。完了には、明確化されたパフォーマンスまたはドキュメントのタスクと、合意された Definition of Done が必要です。
索引モデルが issue の本文から書いたものです。
説明
When do scatter and hexbin plots start performing poorly?
A timing of plt.hexbin with random numbers showed that for points less than 10^6 the time remained roughly consistenly 200 ms. For 10^7, the time increased dramatically to 1.6 s. 10^8 took 12 s. The importance here is that the number of hexbin is consistent for all tests, thus the timing difference stems from binning.
One year of 1-minute measurements is approximately half a million points.
ChatGPT showed similar results:
Now, let's consider the base case of 1 million points. How many bins are feasible?
100x100 bins is fast: 400 ms. 200x200 bins is ok: 1s. 1000x1000 bins is slow: 15s. Note that the difference in number of bins is 100 and not 10 as they are multiplied.
Conclusion
Hexbin is definitely suitable for 1 minute or 1 second data points. The default of 100x100 hexbins is a good option.
- 主要言語
- Python
- スター
- 1
- フォーク
- 2
- 平均マージ
- 11分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AssessingSolar/solarpy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AssessingSolar/solarpy#115 ·
-
Improved QC limitsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
AssessingSolar/solarpy#154 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
AssessingSolar/solarpy#153 ·
-
難易度 3/5 半日 初心者へのやさしさ 45/100
AssessingSolar/solarpy#152 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
AssessingSolar/solarpy#148 · コメント 3 件 ·
AssessingSolar/solarpy の issue をすべて見る
似ている issue
-
intake mcp-intake needs-ac needs-human-review priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
Ikalus1988/MisakaNet#3848 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
521xueweihan/HelloGitHub#4105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
igormcsouza/bookloud#54 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
aws-samples/sample-per-model-bedrock#526 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ok-oldking/ok-wuthering-waves#1802 ·
メンテナーはふだん 2 日以内に返信