Skip to main content

Weekly fetch CI PyPI DOI Open in Colab

MixedBench

A benchmark of posterior approximation and prediction for real grouped data.

What and why

  • Bayesian methods for grouped data are hard to compare: each paper and released method tests them on its own few datasets. This benchmark aims to fix that.
  • MixedBench lists the documented mixed-effects models of 942 public tabular datasets with grouping structure, each downloaded at a fixed version.
  • A fixed set of rules turns each dataset into an inference problem ready to fit. Results of different methods are comparable.
  • From release 1.1, suites add reference posteriors to score against.

Overview

We searched several publicly available sources for grouped tabular data. Duplicates across sources were removed. The registry contains every dataset and their documented metadata. The contract transforms each dataset into an inference problem. MixedBench currently has two tracks: the posterior track compares a method's posterior with a documented converged NUTS posterior. The predictive track does a 5-fold CV on left out rows or groups.

Install

pip install mixedbench

No R needed: every dataset loads in Python.

Quickstart

from pathlib import Path
from mixedbench import suite

# fetched from CRAN at its pin and checked against suite 1.1's list; later calls are offline
problem = suite.load('lme4/sleepstudy/1', Path('cache'))

Check out the demo for a friendly introduction.

Contributing

Interested in becoming part of mixedbench? Check out CONTRIBUTING.md.

Citing

Please cite the release you used: CITATION.cff, or click "Cite this repository" on GitHub.

License

  • Code: Apache-2.0. Registry and suite files: CC BY 4.0.
  • The datasets keep their sources' terms and are not redistributed through MixedBench.

Metadata

Release files for mixedbench 1.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mixedbench 1.0.13
File Size Uploaded Provenance Actions
mixedbench-1.0.13.tar.gz 2.2 MB With provenance Details for mixedbench-1.0.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mixedbench 1.0.13
File Interpreter ABI Platform Actions
mixedbench-1.0.13-py3-none-any.whl Python 3 none any Details for mixedbench-1.0.13-py3-none-any.whl

Total release size: 4.5 MB

Release files / mixedbench-1.0.13.tar.gz

Download URL mixedbench-1.0.13.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e7f8260d1d7fc706d81cf3b46da3ad05b408b078c56236230912884a75e4b406
BLAKE2b-256 checksum
How to use checksums
fc85eeeb0ab404a90b4237b2ab90572a4bd73d470f8225317f402510c8792f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / mixedbench-1.0.13-py3-none-any.whl

Download URL mixedbench-1.0.13-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e16e3ddf9cad1de003755b57720d8ed721c81936b0cfb4a57a47b92d982d7d80
BLAKE2b-256 checksum
How to use checksums
0493a8a81d7ca28f7b59b799f8ea50d1963d720908803ed977fc0a64b842d66b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for mixedbench 1.0.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mixedbench-1.0.13.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page