https://github.com/congyewang/stein-thinning-cpp

The C++ version of Stein Thinning

https://github.com/congyewang/stein-thinning-cpp

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.4%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

The C++ version of Stein Thinning

Basic Info
  • Host: GitHub
  • Owner: congyewang
  • License: mit
  • Language: C++
  • Default Branch: main
  • Homepage:
  • Size: 13.6 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Stein-Thinning-Cpp

The C++ version of Stein Thinning.

Riabiz, M., Chen, W. Y., Cockayne, J., Swietach, P., Niederer, S. A., Mackey, L., Oates, C. J. (2022). Optimal thinning of MCMC output. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(4), 1059-1081.

Requirements

```bash sudo apt update sudo apt install build-essential sudo apt install cmake

Optional

sudo apt install ninja-build sudo apt install libopenblas-dev ```

Compilation

```bash mkdir build && cd build cmake .. make

Optional

cmake -G Ninja .. ninja ```

Utilisation

```bash ./steinthinning <int numberof_points> [str /path/to/output.csv]

For Example

./steinthinning 40 "../demo/samplechains/gmm/smp.csv" "../demo/samplechains/gmm/scr.csv" "../demo/samplechains/gmm/output.csv" ```

Test

```bash cd test && mkdir build && cd build cmake .. make

Optional

cmake -G Ninja .. ninja

./steinthinningtest ```

Owner

  • Name: Congye
  • Login: congyewang
  • Kind: user
  • Location: Newcastle upon Tyne
  • Company: Newcastle University

PhD Candidate in Statistics at Newcastle University

GitHub Events

Total
Last Year