apache / apache/datasketches-cpp

Study to compare t-Digest and REQ sketch

Offen
#416 13 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
273
Forks
88
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es werden keine Dateien, Tests oder Benchmark-Einstiegspunkte genannt. Finde die Implementierungen von t-Digest und REQ sowie einen eventuell vorhandenen Performance-Harness und vergleiche anschließend das Verhalten von HRA/LRA und der Standardskalierung über die beschriebenen Eingabetypen hinweg; abgeschlossen ist die Aufgabe, wenn ein reproduzierbarer Vergleich mit dokumentierten Ergebnissen vorliegt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
data, performance
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.