arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.21996cs.SEstat.CO
收藏

StreamSampling.jl:在Julia中高效地从数据流中采样

StreamSampling.jl: Efficient Sampling from Data Streams in Julia

Sapienza University of Rome(罗马大学)

Adriano Meligrana

AI总结:

本文介绍StreamSampling.jl库,提供单次遍历数据流的高效采样方法,具有小内存占用和无需完全加载内存的优势,通过实验证明其性能提升。

摘要:

StreamSampling.jl是一个Julia库,旨在提供在单次遍历中高效从数据流中采样的通用方法,即使总项数未知。本文描述了该库的功能及其相对于传统采样方法的优势,如保持小的恒定内存足迹和避免需要在内存中完全材料化流。此外,我们提供了比较在线采样方法与标准方法的实证基准,证明了性能和内存的改进。

英文摘要:

StreamSampling$.$jl is a Julia library designed to provide general and efficient methods for sampling from data streams in a single pass, even when the total number of items is unknown. In this paper, we describe the capabilities of the library and its advantages over traditional sampling procedures, such as maintaining a small, constant memory footprint and avoiding the need to fully materialize the stream in memory. Furthermore, we provide empirical benchmarks comparing online sampling methods against standard approaches, demonstrating performance and memory improvements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑