apache / apache/datasketches-cpp

Study to compare t-Digest and REQ sketch

Aperta
#416 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
273
Fork
88
Merge medio
2g 2h
PR unite (30g)
8

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non vengono indicati file, test o un punto di ingresso per il benchmark. Individua le implementazioni di t-Digest e REQ e qualsiasi harness di performance esistente, quindi confronta il comportamento di HRA/LRA e dello scaling predefinito tra i tipi di input descritti; il lavoro è completo quando è disponibile un confronto riproducibile con risultati documentati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
data, performance
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.