Skip to main content

Module sparse_model

Module sparse_model 

Source
Expand description

SparseModel – skip-context model for periodic patterns.

Phase 4: Captures patterns like column-aligned data, repeating structures, and periodic byte patterns by using contexts that skip bytes.

Two contexts:

  • Gap-2: hash(c2, c0_partial) – skips c1, catches every-other-byte patterns
  • Gap-3: hash(c3, c1, c0_partial) – skips c2, catches 3-byte periodic patterns

Structs§

SparseModel
Sparse context model using skip-byte contexts.