This repository contains an official codebase of the two papers
- "On Confidence Sequences for Bounded Random Processes via Universal Gambling," Jongha (Jon) Ryu and Alankrita Bhatt, Under minor revision for IEEE Transactions on Information Theory (2022).
- "Gambling-Based Confidence Sequences for Bounded Random Vectors," Jongha (Jon) Ryu and Gregory W. Wornell, ICML 2024 (spotlight).
To run the lower bound universal portfolio (LBUP) of Ryu and Bhatt (2022) with Cython, first run
python3 setup_lbup_integrand.py build_ext --inplaceThis allows ~33% improvement in the runtime.
The experiments in the manuscript can be replicated by running the jupyter notebook notebooks/exps.ipynb.
To run the proposed method, Cython should be installed:
pip install CythonThen, the preamble of the code should include
import pyximport
pyximport.install()This is required to load the lbup_integrand.pyx file.
As noted under methods/precise, a Python translation of PRECiSE algorithms of Orabona and Jun (2021) are included,
where the original MATLAB implementation can be found at https://github.com/bremen79/precise.