Published June 1, 2026 | Version v1.0.0

MinCompSpin (mcmpy): a package for modeling discrete datasets with minimally complex models

  • 1. ROR icon Helmholtz Institute Erlangen-Nürnberg
  • 2. University of Amsterdam

Description

MinCompSpin is a C++ library with Python bindings for analyzing discrete datasets using Minimally Complex Models (MCMs).
Once compiled, it creates the Python package mcmpy.

The package was developed for the paper Modeling discrete data with high-order vector Potts models (arXiv:2606.03429). More information about the method and the algorithms can be found in the paper.

The package can be used to analyze datasets with up to 128 discrete variables and for variables that can take up to q=10 different states (though it was extensively tested only up to q=5).

All information about the package (installation, available objects/functions, and how to use them) can be found in the documentation.

The documentation also includes step-by-step examples, with Jupyter notebooks available in the folder docs/examples (in this repository).

Files

DM-Lab-UvA/MinCompSpin-v1.0.0.zip

Files (116.7 kB)

Name Size Download all
md5:a4f5882b5feb85ba00c1ffdb265a800b
116.7 kB Preview Download

Additional details

Related works

Software

Repository URL
https://github.com/DM-Lab-UvA/MinCompSpin
Programming language
C++ , Python