causal-automata

User guide

  • Installation
    • Requirements
    • From PyPI (v0.3.6)
    • From a source checkout (contributors)
    • JAX accelerators (CPU / CUDA / MPS)
    • Build the docs locally
  • Quickstart
    • Minimal discovery loop
    • Maximum Accuracy Mode (2-hop gravity)
    • State variables
    • NumPy vs JAX
    • Synthetic end-to-end harness
  • JAX static arguments (ticks and k)
    • How the library marks them static
    • Correct usage
    • What goes wrong
    • Practical tips
  • Command-line tools
    • Synthetic DAG harness
      • Useful flags
    • Benchmark vs PC / GOLEM
      • Core flags
      • Upgrade flags (all opt-in; defaults stay binary 1-hop)
  • Benchmarks
    • Benchpress — NVIDIA A10 full run
      • Design
      • Hardware fingerprint
      • Overall results (mean ± std over usable cells)
      • Takeaways
      • Paired wins (same family × p × seed; CA vs other)
      • MCMC as accuracy ceiling (overlap only)
      • By family × p (mean F1 pattern / mean time)
    • N=100 — Maximum Accuracy Mode
    • N=100 — vs gCastle (Tesla T4)
    • Conditioning-set sweep (Upgrade 2)
    • Opt-in experiments
    • Reproduce
    • Interpreting metrics

Theory

  • Theory: causal discovery as automata
    • Correlation vs. causation
    • Independence, forks, and colliders
      • Fork (common cause)
      • Collider (V-structure)
    • From Pearl to grids
    • Generative topology and Bayesian automata
    • Parallel physics as an alternative to sequential search
    • PC-consistent Sepset screening in the automaton
  • Physics rules and matrix mechanics
    • Paper-level forces (conceptual)
    • Implemented tick (code)
    • Closed-form Sepset algebra (v0.3.5–v0.3.6)
    • Complexity
    • GPU / accelerator matrix computation
  • Glossary

Reference

  • API reference
    • Package exports
      • CausalAutomaton
      • step()
      • run()
      • numpy_step()
      • fisher_z_threshold()
      • dag_to_cpdag()
      • device_info()
      • enable_x64()
      • warmup()
      • binarize()
      • detect_colliders()
      • default_conditioning_k()
    • NumPy Bayesian CA
      • fisher_z_threshold()
      • dag_to_cpdag()
      • detect_colliders()
      • step()
    • JAX core
      • enable_x64()
      • device_info()
      • detect_colliders()
      • step()
      • run()
      • binarize()
      • warmup()
      • CausalAutomaton
    • Synthetic experiments
      • make_truth_edges()
      • truth_adjacency()
      • generate_linear_dag_samples()
      • empirical_covariance()
      • random_upper_tri_adjacency()
      • correlation_skeleton_adjacency()
      • flat_elevations()
      • undirected_skeleton()
      • EdgeMetrics
      • edge_metrics()
      • skeleton_metrics()
      • format_edges()
      • Phase2Result
      • default_conditioning_k()
      • SyntheticBundle
      • prepare_synthetic_bundle()
      • run_phase2()
      • report()
      • report_multi()
      • main()
    • Benchmarks
      • BenchRow
      • print_device_checks()
      • resolve_golem_device_type()
      • run_pc()
      • run_golem()
      • smoke_golem_init()
      • run_jax_ca()
      • markdown_table()
      • run_benchmark()
      • main()
  • Bibliography
    • Related background
    • Software
causal-automata
  • Python Module Index

Python Module Index

c
 
c
- causal_automata
    causal_automata.bayesian
    causal_automata.bayesian_synth
    causal_automata.benchmark
    causal_automata.jax_core

© Copyright 2026, Masakazu Yamagiwa.

Built with Sphinx using a theme provided by Read the Docs.