apache / apache/datasketches-cpp
Study to compare t-Digest and REQ sketch
- 主要言語
- C++
- スター
- 273
- フォーク
- 88
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 8
説明
Compare the performance of t-Digest with the closest competitor in the library, REQ sketch.
REQ sketch is the closest competitor because it prioritizes high rank accuracy (HRA mode) or low rank accuracy (LRA mode), unlike other quantile sketches (KLL, classic) with the same rank error for any rank.
There are a few obvious differences:
- REQ sketch can work with any data type with a comparator, t-Digest is limited to numeric data (floating-point types)
- REQ sketch retains and returns values observed in the input only - no notion of distance (only less than comparison), no interpolation. t-Digest is based on computing means and does interpolation.
- t-Digest prioritizes both high rank and low rank accuracy at the same time with the default scaling function. Perhaps this can be changed with different scaling functions.
コントリビューションガイド
調査の方向性
ファイル、テスト、またはベンチマークのエントリーポイントは指定されていません。t-Digest と REQ の実装、および既存のパフォーマンスハーネスがあればそれを特定し、説明されている入力型全体で HRA/LRA とデフォルトスケーリングの挙動を比較してください。文書化された結果を伴う再現可能な比較ができれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- data, performance
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100