mdl-fca
Learning "good" concept DAGs from binary data by minimum description length — a probabilistic/information-theoretic reworking of Formal Concept Analysis.
Plain FCA maps a binary object×attribute context to a concept lattice, but it is not a probabilistic model: it creates a concept for every random coincidence, so the lattice explodes. This project builds instead the small DAG of concepts that best compresses the data: a concept exists only if it pays for its own description. Concepts can have multiple parents (unlike hierarchical clustering's trees) and are organized hierarchically (unlike flat topic models).
Status: design phase complete, prototype under construction.
- Read
CLAUDE.mdfor orientation and design commitments. - Read
docs/in numeric order for the full design:- background and goal
- model and codelength (the core)
- algorithm (greedy pair-merge constructor + search framework)
- batch vs online
- prototype spec (current build target)
- roadmap
Quick start (once the prototype exists)
pip install -e ".[test]"
pytest # 15 tests
python examples/run_planted.py
Metadata
Release files for mdl-fca 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mdl_fca-0.0.1.tar.gz | 20.1 kB | With provenance | Details for mdl_fca-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mdl_fca-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for mdl_fca-0.0.1-py3-none-any.whl |
Total release size: 37.6 kB
Release files / mdl_fca-0.0.1.tar.gz
| Download URL | mdl_fca-0.0.1.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71b1e53264dc97c096db577ebfcef7b7cb05cdaf9c4fbc4cbbd115be6baa7309
|
|
BLAKE2b-256 checksum How to use checksums |
0edc8e91813cf5e60b363ebd4fa63d5a94aeb11b7a8cca47263f2cbcda864cb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 11, 2026.
Transparency logRelease files / mdl_fca-0.0.1-py3-none-any.whl
| Download URL | mdl_fca-0.0.1-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8f55b10f8e45b13a79666c196b51c4b44fa379f3218808399ae3a06c1d3d9bb
|
|
BLAKE2b-256 checksum How to use checksums |
4e2839cd7481004b2b79e3b9929b08c67fc75703736ddb73d0095a58a203d48e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 11, 2026.
Transparency logSecurity for mdl-fca 0.0.1
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mdl_fca-0.0.1.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 Sep 11, 2026.
Transparency logA 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.