fouticus / nsfbm

Non-Uniform Sampling of Fixed Binary Matrices
GNU General Public License v3.0
2 stars 0 forks source link

Non-Uniform Samling of Fixed Binary Matrices

This software accompanies the 2020 Foundations of Data Science Conference paper, Non-Uniform Sampling of Fixed Binary Matrices (preprint). We implemented weighted versions of checkerboard swapping and the curveball algorithm in order to sample from fixed margin binary matrices non-uniformly. This work was supported by the National Science Foundation under grant IOS-1856229.

Weighted checkerboard swap and weighted curveball are implemented in functions.r

Scripts with numbers correspond to the associated sections in the paper.