Data · dataset · 2026
PSTACK-COMPRESS: Experimental Code v2
Listed in Teesside University Research Data Repository
This dataset contains the complete Python source code accompanying the paper: Piotr Frydrych, "The Preisach Extremum Stack as an Order-2 Davenport–Schinzel Sequence: Online Compression and Sufficient Statistics for Rate-Independent Streams," Discrete Applied Mathematics, submitted May 2026.
Description
The code implements PSTACK-COMPRESS (Algorithm 1 from the paper): an online, linear-time algorithm for lossless compression of rate-independent data streams based on the Preisach extremum stack.
The extremum stack Π_n records the alternating local maxima and minima of a discrete sequence that survive the Preisach wiping-out rule. The paper proves that Π_n is the Kolmogorov-minimal sufficient statistic for the class R of all computable rate-independent functionals, and that PSTACK-COMPRESS is asymptotically optimal: no online algorithm can produce a shorter exact representation for any R-query. The dataset includes: pstack_dam_experiments.py — full implementation of PSTACK-COMPRESS, eight synthetic signal generators (monotone, slow sine, trend+noise, white noise, piecewise/SCADA-like, ECG-like, financial random walk, adversarial worst-case), a self-test suite verifying the Definition 4 stack invariant at every time step, and benchmark routines reproducing all numerical results reported in Sections 7.1–7.4 of the paper (compression ratios, adversarial lower bound verification, white noise k/n distribution, speedup of online vs. naive algorithm).
Read the rest (2 more)
README.md — detailed usage instructions, description of all signal classes, code examples reproducing specific tables and figures from the paper, and citation information. No real-world datasets are used. All signals are generated synthetically and deterministically from fixed random seeds, ensuring full reproducibility of every number reported in the paper.
Keywords Preisach operator, extremum stack, Davenport–Schinzel sequences, rate-independent functionals, online compression, Kolmogorov complexity, sufficient statistic, time series, data streams, hysteresis Related publication Frydrych, P. (2026). The Preisach Extremum Stack as an Order-2 Davenport–Schinzel Sequence: Online Compression and Sufficient Statistics for Rate-Independent Streams.
Links
Where it is published
- DOI doi.org/10.17632/9xbszvtvfh.1 ↗
DOI / persistent id · from researchdata tees ac uk
Catalogue records · 1
- OAI-PMH record data.mendeley.com/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Adata… ↗
metadata API · from researchdata tees ac uk
Topics
- From keywords
- Computer Science & AI · Earth & Environmental Science · Signal processing
Provenance · 1 source records, 8 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| Teesside University Research Data Repository | oai:data.mendeley.com/9xbszvtvfh.1 | 10 h ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| access_level | source · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | |
| concepts[field].anzsrc:field:400607 | mapping · researchdata tees ac uk | vocabulary-mapper@1.0.0 | keywords['Signal Processing'] |
| concepts[field].local:field:computer-science-ai | mapping · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | |
| concepts[field].local:field:earth-environmental | mapping · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | |
| description | source · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | /metadata/dc/description |
| license | source · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | /metadata/dc/rights |
| publication_date | source · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | |
| title | source · researchdata tees ac uk | connector:researchdata_tees_ac_uk@1.0.0 | /metadata/dc/title |