lawsynth/crates/lawsynth-regime
caelum0x 8af85c6e28 style: format workspace to rustfmt.toml (use_small_heuristics = Max)
Bring the whole workspace into compliance with the repo's rustfmt config
(edition 2024, max_width 100, use_small_heuristics = "Max"), which had drifted
across many crates. Pure formatting — no logic changes; `cargo fmt --check` is
now clean and `cargo build --workspace` is green.
2026-08-18 16:59:40 +03:00
..
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00

lawsynth-regime

lawsynth-regime detects changes in the mean of a finite scalar series and works with finite-state discrete HMMs. pelt implements the exact penalized least-squares dynamic-programming objective with a minimum segment length. bocpd produces online Gaussian change probabilities, and DiscreteHmm provides validated Viterbi decoding.

The scalar change-point model is intentionally narrow: it does not silently claim multivariate, heteroscedastic, or causal regime identification.