tsmp
0.5.1Time Series with Matrix Profile
Overview
A toolkit implementing the Matrix Profile concept that was created by CS-UCR http://www.cs.ucr.edu/~eamonn/MatrixProfile.html.
- Renamed JSON serialization functions to
write_json()andread_json()to avoid maskingbase::write(). JSON round trips now preserve profile vectors and theoriginandpartialattributes. - Multivariate STOMP (
mstomp()andmstomp_par()): Delegated computation to the high-performance native C++ engine inmatrixprofiler::mstomp(), providing massive speedups (~200x) and native multi-threading while removing legacy dependencies ondoSNOWandforeach. - Added
mode = "mpx"totsmp()as a first-class citizen algorithm delegating tomatrixprofiler::mpx(). - Unified API refactoring:
compute()now delegates internally totsmp(mode = "mpx")andpmp(), preserving 100% compatibility with Matrix Profile Foundation unified API (Python/Go) and standardMatrixProfile/PMPS3 classes.
Show all changes in 0.5.1Hide the rest of the changes in 0.5.1
- High-performance MPdist:
mpdist()now delegates to native C++ engine inmatrixprofiler::mpdist(), delivering major speedups and lower memory footprint tompdist()andfind_snippet(). - Vectorized
fluss_cac()usingtabulate(), eliminating slow $O(N)$ R loops. - Added
n_workersparameter tofind_snippet(), enabling multithreaded MPdist computation. - Fixed zero-padding bug in
find_snippet()when time series length is an exact multiple of snippet size. - Enhanced
dist_profile(),compute(),find_snippet()andpmp()with hardened multi-worker validation againstdetectCores() == NA. - Replaced internal
:::calls indist_profile.Rwith public API calls tomatrixprofiler::mass(). - Added
na_strategy = c("monolithic", "segmented", "segmented_native")totsmp()with end-to-end missing value protection for discords and motifs. - PAA (
paa()andipaa()) implemented and maintained in pure R. - Removed
audiodependency and audio completion signals. - Switched to pure R implementation (
NeedsCompilation: no) delegating heavy computations tomatrixprofiler.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 58 (2 internal)includes a package overview page
- Examples that run
- 98%43 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 88%
- Documented parameters
- 99%
- Return-value docs
- 90%
- Help pages citing references
- 67%
Downloads
Repository
- PRs merged (all time)
- 15%
- Median days to close, 50 most recently updated closed issues
- 24
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
19 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/matrix-profile-foundation/tsmp on 2026-10-11.
GitHub Pages site last deployed 2022-08-18
Show all practicesHide 4 practices
Dependencies
Installing tsmp adds 7 packages (7 with compiled code, 3.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, matrixprofiler 360 KB, RcppThread 308 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.5.1Latest2026-10-16 · current release · diff ↗ ·
removed 14 exports
fast_avg_sd, fast_movavg, fast_movsd, mass, mass_pre, mass_v3, mpx, read, scrimp, stamp, stamp_par, stomp, stomp_par, writeadded 6 exports
as_ts_data, convert_data, ipaa, paa, read_json, write_json - RR 4.6.0 released · 2026-04-24
- 0.4.162025-12-04 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.152022-08-21 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-04-06
- 0.4.142020-04-06 · diff ↗
- archivedRemoved from CRAN2020-03-30check problems were not corrected in time clang-UBSAN issues
- 0.4.112020-03-15 · diff ↗
- 0.4.82020-02-28 · diff ↗ ·
added 15 exports
analyze, as.pmp, compute, discords, fast_avg_sd, find_snippet, mass_v3, motifs, mpdist, mpx, pmp, pmp_upper_bound, read, visualize, write - 0.3.52019-06-06 · diff ↗ ·
added 7 exports
dist_profile, floss, floss_cac, floss_extract, min_mp_idx, remove_class, stompi_update
Show 6 earlier eventsHide 6 earlier events
- RR 3.6.0 released · 2019-04-26
- 0.3.4
- 0.3.2
- 0.3.12018-09-10 · diff ↗ ·
removed 10 exports
fast.movavg, fast.movsd, guide.search, mass.pre, mstomp.par, sdts.f.score, sdts.predict, sdts.train, stamp.par, unconstrain.searchadded 35 exports
as.arccount, as.chain, as.fluss, as.matrixprofile, as.motif, as.multimatrixprofile, as.multimotif, as.salient, av_apply, av_complexity, av_hardlimit_artifact, av_motion_artifact, av_stop_word, av_zerocrossing, fast_movavg, fast_movsd, find_chains, find_motif, fluss, fluss_cac, fluss_extract, fluss_score, mass_pre, mstomp_par, plot_arcs, salient_subsequences, scrimp, sdts_predict, sdts_score, sdts_train and 5 more - 0.2.122018-08-17
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-08-17
- Total releases
- 11 / 8 yrs
- License
- GPL-3 OSI · relicensed from Apache License (>= 2.0) in 0.5.1
- Minimum R
- ≥ 4.0
- Bundled data
- 3.9 MB / 7 files
- Download size
- 4.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tsmp")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.