Repository navigation
Machine layer (epsilon-machines, epsilon-transducers, composed model) and network drawing - #2
Merged
Merged
Conversation
…rget, composed NetworkModel Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…cer rows, bounded driven entropy rate, n_forbidden diagnostic Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
… layer Co-authored-by: Cursor <cursoragent@cursor.com>
…ayer matrices; hyperedge and machine overlays; bokeh and matplotlib backends Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…y in tent test Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Machine layer (
infoflow/machines.py,infer_multiplex(machines=True),infer(..., machines=True))admitted_by(the estimator that admitted each parent), stability across time halves, and a count of observed symbols each node machine forbids (n_forbidden).infer()preset. Withmachines=Trueit runs outside the time budget and is recorded inAutoReport.machines.Composed model (
infoflow/network_model.py)simulateand a factorized held-outlog_loss, compared with each node's own ε-machine.adequacy, a parametric bootstrap check of the factorization.to_hmm, guarded by a maximum state count, with exact per-edge flows computed from the explicit model.parametric_check: simulate surrogate data, re-infer, and compare networks.Drawing (
infoflow/draw.py)Datasets:
coupled_tentwithtent_ring_coupling, andnoisy_eca.Depends on
dit/sofic
cssr-multitrial(multi-trial CSSR). Until it's merged anduv.lockis refreshed, the machine-layer tests skip in CI.Tests
tests/test_machines.py: known processes, a delay channel, XOR synergy, exact flows, guards, pickling, and theinfer()pass-through.tests/test_draw.py: geometry, glyph identities, and both backends.-m slow):tests/test_tent_ring.py: coupled Misiurewicz tent maps in five regimes, including documented xfails for infinite Markov order and weak coupling.tests/test_eca_ring.py: rules 90 and 110, where the transducers recover the rule tables.Known limitations (documented in
docs/machines.rst)Made with Cursor