跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 计算

arXiv:2410.05811 (stat)
[提交于 2024年10月10日]

标题:lintsampler: Easy random sampling via linear interpolation

作者:Aneesh P. Naik, Michael S. Petersen
查看论文《lintsampler: Easy random sampling via linear interpolation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:'lintsampler' provides a Python implementation of a technique we term 'linear interpolant sampling': an algorithm to efficiently draw pseudo-random samples from an arbitrary probability density function (PDF). First, the PDF is evaluated on a grid-like structure. Then, it is assumed that the PDF can be approximated between grid vertices by the (multidimensional) linear interpolant. With this assumption, random samples can be efficiently drawn via inverse transform sampling. lintsampler is primarily written with 'numpy', drawing some additional functionality from 'scipy'. Under the most basic usage of lintsampler, the user provides a Python function defining the target PDF and some parameters describing a grid-like structure to the 'LintSampler' class, and is then able to draw samples via the 'sample' method. Additionally, there is functionality for the user to set the random seed, employ quasi-Monte Carlo sampling, or sample within a premade grid ('DensityGrid') or tree ('DensityTree') structure.
评论: Accepted by Journal of Open Source Software. Describes code repository at https://github.com/aneeshnaik/lintsampler
主题: 计算 (stat.CO); 天体物理仪器与方法 (astro-ph.IM); 数学软件 (cs.MS); 概率论 (math.PR)
引用方式: arXiv:2410.05811 [stat.CO]
  (或者 arXiv:2410.05811v1 [stat.CO] 对于此版本)
  https://doi.org/10.48550/arXiv.2410.05811
期刊参考: Journal of Open Source Software, 2024, 9(102), 6906
相关 DOI: https://doi.org/10.21105/joss.06906

提交历史

来自:Aneesh Naik
[v1] 2024年10月10日 星期四 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.CO
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-10
切换浏览方式为:
stat
astro-ph.IM
cs.MS
math.PR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站