Coreax (v0.1.0)#

Coreax is a library for coreset algorithms, written in JAX for fast execution and GPU support.

Setup#

Before installing Coreax, make sure JAX is installed. Be sure to install the preferred version of JAX for your system.

  1. Install JAX noting that there are (currently) different setup paths for CPU and GPU use.

  2. Install Coreax:

$ python3 -m pip install coreax
  1. Optionally, install additional dependencies required to run the examples:

$ python3 -m pip install coreax[test]

Contents#

Bibliography#

[liu2016kernelized]

Qiang Liu, Jason D. Lee, and Michael I. Jordan. A kernelized stein discrepancy for goodness-of-fit tests and model evaluation. 2016. arXiv:1602.03253.

[ssm]

Yang Song, Sahaj Garg, Jiaxin Shi, and Stefano Ermon. Sliced score matching: a scalable approach to density and score estimation. In Uncertainty in Artificial Intelligence, 574–584. PMLR, 2020.

[chatalic2022nystrom]

Antoine Chatalic, Nicolas Schreuder, Alessandro Rudi, and Lorenzo Rosasco. Nyström Kernel Mean Embeddings. 2022. arXiv:2201.13055.

[garreau2018median]

Damien Garreau, Wittawat Jitkrittum, and Motonobu Kanagawa. Large sample analysis of the median heuristic. 2018. arXiv:1707.07269.

[improved_sgm]

Yang Song and Stefano Ermon. Improved techniques for training score-based generative models. In Advances in Neural Information Processing Systems, volume 33, 12438–12448. 2020.

[huszar2016optimally]

Ferenc Huszar and David Duvenaud. Optimally-Weighted Herding is Bayesian Quadrature. 2016. arXiv:1408.2049.

Release Cycle#

We anticipate two release types: feature releases and security releases. Security releases will be issued as needed in accordance with the security policy. Feature releases will be issued as appropriate, dependent on the feature pipeline and development priorities.

Coming Soon#

Some features coming soon include:

  • Coordinate bootstrapping for high-dimensional data.

  • Other coreset-style algorithms, including kernel thinning and recombination, as means to reducing a large dataset whilst maintaining properties of the underlying distribution.

Indices and Tables#