Skip to main content

mdl-fca

tests license status

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.md for orientation and design commitments.
  • Read docs/ in numeric order for the full design:
    1. background and goal
    2. model and codelength (the core)
    3. algorithm (greedy pair-merge constructor + search framework)
    4. batch vs online
    5. prototype spec (current build target)
    6. roadmap

Quick start (once the prototype exists)

pip install -e ".[test]"
pytest                       # 15 tests
python examples/run_planted.py

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdl_fca-0.0.1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mdl_fca-0.0.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file mdl_fca-0.0.1.tar.gz.

File metadata

  • Download URL: mdl_fca-0.0.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mdl_fca-0.0.1.tar.gz
Algorithm Hash digest
SHA256 71b1e53264dc97c096db577ebfcef7b7cb05cdaf9c4fbc4cbbd115be6baa7309
MD5 56c0f85461aa424420f5c7edf30e6f2d
BLAKE2b-256 0edc8e91813cf5e60b363ebd4fa63d5a94aeb11b7a8cca47263f2cbcda864cb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdl_fca-0.0.1.tar.gz:

Publisher: publish.yml on petfold/mdl-fca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mdl_fca-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mdl_fca-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mdl_fca-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f55b10f8e45b13a79666c196b51c4b44fa379f3218808399ae3a06c1d3d9bb
MD5 b41aac6f2d495edabc9eb5650716551b
BLAKE2b-256 4e2839cd7481004b2b79e3b9929b08c67fc75703736ddb73d0095a58a203d48e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdl_fca-0.0.1-py3-none-any.whl:

Publisher: publish.yml on petfold/mdl-fca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

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