dc.contributor.advisor | Veselý, Pavel | |
dc.creator | Domes, Tomáš | |
dc.date.accessioned | 2024-11-29T04:56:35Z | |
dc.date.available | 2024-11-29T04:56:35Z | |
dc.date.issued | 2024 | |
dc.identifier.uri | http://hdl.handle.net/20.500.11956/193951 | |
dc.description.abstract | Tato práce se zabývá proudovými (streaming) algoritmy pro odhad distribucí a kvantilů, které provedou jeden průchod přes vstupní proud dat za použití malé paměti. Po načtení proudu N prvků z lineárně uspořádaného univerza proudový algoritmus pro odhad kvantilů odpovídá s aditivní chybou, když je velikost chyby nejvýše ±εN a s re- lativní chybou, když je pro item y s rankem R(y) chyba nejvýše ±ε R(y). První z těchto problémů řeší optimálně algoritmus KLL v prostoru ε−1 , nejlepší známý algoritmus pro relativní chybu je ReqSketch, který potřebuje prostor ε−1 log1.5 (N). Náš algoritmus Jagged Sketch spočívá ve dvou vylepšeních algoritmu ReqSketch. První z vylepšení zmenšuje chybu √︂ log(N)-krát pro vysoké ranky, druhé zmenšuje chybu až log(N)-krát pro důležitý rank dle volby uživatele a ranky jemu blízké, to vše při zacho- vání stejného prostoru. Teoretickou analýzu jsme podpořili experimenty, které prokazují, že Jagged Sketch dokáže oproti ReqSketch skutečně snížit chybu pro vybrané ranky při zachování stejného prostoru a podobné chyby pro ostatní ranky. Pro ε ∈ O(log−1.5 N) odpovídá Jagged Sketch s aditivní chybou ve stejném prostoru jako KLL, přičemž si zároveň zachovává garanci téměř relativní chyby. V praxi je chyba Jagged Sketche pro velké ranky přibližně čtyřikrát větší, zatímco pro malé ranky... | cs_CZ |
dc.description.abstract | This work deals with streaming algorithms for estimation of ranks and quantiles that perform a single pass through the input data stream using a small space. After reading a stream of N elements of a totally ordered universe, a streaming algorithm for rank (or quantile) estimation answers rank (or quantile) queries with additive error if the error is at most ±εN and with relative error if for item y with rank R(y), the error is at most ±ε R(y). The first problem is optimally solved by the KLL algorithm in space O(ε−1 ), and the best-known algorithm for the relative error is ReqSketch, which takes space O(ε−1 log1.5 N). Our algorithm called Jagged Sketch consists of two significant improvements to the ReqSketch algorithm. The first of the improvements reduces the error for high ranks by a factor of √︂ log(N), the second one improves the error by a factor up to log(N) for important ranks chosen by the user and for ranks close to them, all while maintaining the same space complexity. We support our theoretical analysis by experiments that demonstrate that Jagged Sketch can indeed reduce the error for selected ranks while maintaining the same space and similar error for other ranks compared to ReqSketch. For ε ∈ O(log−1.5 N) Jagged Sketch achieves additive error in the same space as KLL while... | en_US |
dc.language | English | cs_CZ |
dc.language.iso | en_US | |
dc.publisher | Univerzita Karlova, Matematicko-fyzikální fakulta | cs_CZ |
dc.subject | streaming algorithms|quantile estimation|ranks estimation|relative error | en_US |
dc.subject | proudové algoritmy|odhad kvantilů|odhad ranků|relativní chyba | cs_CZ |
dc.title | Streaming Algorithms for Estimating Quantiles with Novel Error Guarantees | en_US |
dc.type | diplomová práce | cs_CZ |
dcterms.created | 2024 | |
dcterms.dateAccepted | 2024-09-13 | |
dc.description.department | Computer Science Institute of Charles University | en_US |
dc.description.department | Informatický ústav Univerzity Karlovy | cs_CZ |
dc.description.faculty | Matematicko-fyzikální fakulta | cs_CZ |
dc.description.faculty | Faculty of Mathematics and Physics | en_US |
dc.identifier.repId | 261276 | |
dc.title.translated | Proudové algoritmy pro odhad kvantilů s novými garancemi chyby | cs_CZ |
dc.contributor.referee | Cormode, Graham | |
thesis.degree.name | Mgr. | |
thesis.degree.level | navazující magisterské | cs_CZ |
thesis.degree.discipline | Computer Science - Discrete Models and Algorithms | en_US |
thesis.degree.discipline | Informatika - Diskrétní modely a algoritmy | cs_CZ |
thesis.degree.program | Computer Science - Discrete Models and Algorithms | en_US |
thesis.degree.program | Informatika - Diskrétní modely a algoritmy | cs_CZ |
uk.thesis.type | diplomová práce | cs_CZ |
uk.taxonomy.organization-cs | Matematicko-fyzikální fakulta::Informatický ústav Univerzity Karlovy | cs_CZ |
uk.taxonomy.organization-en | Faculty of Mathematics and Physics::Computer Science Institute of Charles University | en_US |
uk.faculty-name.cs | Matematicko-fyzikální fakulta | cs_CZ |
uk.faculty-name.en | Faculty of Mathematics and Physics | en_US |
uk.faculty-abbr.cs | MFF | cs_CZ |
uk.degree-discipline.cs | Informatika - Diskrétní modely a algoritmy | cs_CZ |
uk.degree-discipline.en | Computer Science - Discrete Models and Algorithms | en_US |
uk.degree-program.cs | Informatika - Diskrétní modely a algoritmy | cs_CZ |
uk.degree-program.en | Computer Science - Discrete Models and Algorithms | en_US |
thesis.grade.cs | Výborně | cs_CZ |
thesis.grade.en | Excellent | en_US |
uk.abstract.cs | Tato práce se zabývá proudovými (streaming) algoritmy pro odhad distribucí a kvantilů, které provedou jeden průchod přes vstupní proud dat za použití malé paměti. Po načtení proudu N prvků z lineárně uspořádaného univerza proudový algoritmus pro odhad kvantilů odpovídá s aditivní chybou, když je velikost chyby nejvýše ±εN a s re- lativní chybou, když je pro item y s rankem R(y) chyba nejvýše ±ε R(y). První z těchto problémů řeší optimálně algoritmus KLL v prostoru ε−1 , nejlepší známý algoritmus pro relativní chybu je ReqSketch, který potřebuje prostor ε−1 log1.5 (N). Náš algoritmus Jagged Sketch spočívá ve dvou vylepšeních algoritmu ReqSketch. První z vylepšení zmenšuje chybu √︂ log(N)-krát pro vysoké ranky, druhé zmenšuje chybu až log(N)-krát pro důležitý rank dle volby uživatele a ranky jemu blízké, to vše při zacho- vání stejného prostoru. Teoretickou analýzu jsme podpořili experimenty, které prokazují, že Jagged Sketch dokáže oproti ReqSketch skutečně snížit chybu pro vybrané ranky při zachování stejného prostoru a podobné chyby pro ostatní ranky. Pro ε ∈ O(log−1.5 N) odpovídá Jagged Sketch s aditivní chybou ve stejném prostoru jako KLL, přičemž si zároveň zachovává garanci téměř relativní chyby. V praxi je chyba Jagged Sketche pro velké ranky přibližně čtyřikrát větší, zatímco pro malé ranky... | cs_CZ |
uk.abstract.en | This work deals with streaming algorithms for estimation of ranks and quantiles that perform a single pass through the input data stream using a small space. After reading a stream of N elements of a totally ordered universe, a streaming algorithm for rank (or quantile) estimation answers rank (or quantile) queries with additive error if the error is at most ±εN and with relative error if for item y with rank R(y), the error is at most ±ε R(y). The first problem is optimally solved by the KLL algorithm in space O(ε−1 ), and the best-known algorithm for the relative error is ReqSketch, which takes space O(ε−1 log1.5 N). Our algorithm called Jagged Sketch consists of two significant improvements to the ReqSketch algorithm. The first of the improvements reduces the error for high ranks by a factor of √︂ log(N), the second one improves the error by a factor up to log(N) for important ranks chosen by the user and for ranks close to them, all while maintaining the same space complexity. We support our theoretical analysis by experiments that demonstrate that Jagged Sketch can indeed reduce the error for selected ranks while maintaining the same space and similar error for other ranks compared to ReqSketch. For ε ∈ O(log−1.5 N) Jagged Sketch achieves additive error in the same space as KLL while... | en_US |
uk.file-availability | V | |
uk.grantor | Univerzita Karlova, Matematicko-fyzikální fakulta, Informatický ústav Univerzity Karlovy | cs_CZ |
thesis.grade.code | 1 | |
dc.contributor.consultant | Tětek, Jakub | |
uk.publication-place | Praha | cs_CZ |
uk.thesis.defenceStatus | O | |