Francisco Bischoff
16 Oct 2026

tsmpis now a pure-R analytical layer (NeedsCompilation: no), delegating all high-performance computation to thematrixprofilerC++ engine. This brings orders-of-magnitude speed gains and trivial cross-platform installation.
Key highlights:
n_workers β no more doSNOW/foreach clusters.doSNOW, foreach, audio.NA_integer_ (previously -1L).tsmp(..., mode = "mpx").find_snippet() gained n_workers and a long-standing edge-case fix.π Full API changes, breaking changes, and migration guide: MIGRATION.md
A broader introduction to the matrixprofiler backend is available here.
R Functions implementing UCR Matrix Profile Algorithm (http://www.cs.ucr.edu/~eamonn/MatrixProfile.html).
This package allows you to use the Matrix Profile concept as a toolkit.
This package provides:
# Basic workflow:
matrix <- tsmp(data, window_size = 30) %>%
find_motif(n_motifs = 3) %T>%
plot()
# SDTS still have a unique way to work:
model <- sdts_train(data, labels, windows)
result <- sdts_predict(model, data, round(mean(windows)))Please refer to the User Manual for more details.
Please be welcome to suggest improvements.
# Install the released version from CRAN
install.packages("tsmp")
# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("matrix-profile-foundation/tsmp")matrixprofiler)n_workers
n_workers support and edge-case fixhead(), tail(), [, etc.)mov_mean, mov_std, etc.) with na_strategy controlOur next step unifying the Matrix Profile implementation in several programming languages.
Visit: Matrix Profile Foundation
New benchmarks for the new package matrixprofiler is available at RPubs.
Please note that the tsmp project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.