diff options
| author | YurenHao0426 <Blackhao0426@gmail.com> | 2026-05-28 22:49:27 -0500 |
|---|---|---|
| committer | YurenHao0426 <Blackhao0426@gmail.com> | 2026-05-28 22:49:27 -0500 |
| commit | 7c2eaaa5ae6f9bc5b61de1f7f86b1cc0896b5596 (patch) | |
| tree | 0d8e87aed99dd6a5fcd8498ed98035dc08687036 /scripts/README.md | |
| parent | 4855e065e8426244035b5ef9c0b4a4b74da163ce (diff) | |
Add static alignment beta validation
Diffstat (limited to 'scripts/README.md')
| -rw-r--r-- | scripts/README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..1fe2ad9 --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,27 @@ +# Scripts + +## Static Alignment Beta Law + +Run: + +```bash +python scripts/static_alignment_beta.py --rows 16 --cols 16 --samples 20000 --seed 7 --plot +``` + +This samples independent matrix pairs \(A,B\), computes: + +\[ +Q = +\frac{\langle A,B\rangle_F^2}{\|A\|_F^2\|B\|_F^2}, +\] + +and compares the empirical distribution with: + +\[ +\mathrm{Beta}\left(\frac12,\frac{D-1}{2}\right), +\qquad +D=\texttt{rows}\times\texttt{cols}. +\] + +Outputs are written under `outputs/static_alignment_beta/`, which is ignored by Git. + |
