The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

README

Francisco Bischoff

16 Oct 2026

Time Series with Matrix Profile

License lifecycle

R-CMD-check

codecov

CRAN version CRAN Downloads

What’s New β€” v0.5.1 (October 2026)

tsmp is now a pure-R analytical layer (NeedsCompilation: no), delegating all high-performance computation to the matrixprofiler C++ engine. This brings orders-of-magnitude speed gains and trivial cross-platform installation.

Key highlights:

πŸ“„ Full API changes, breaking changes, and migration guide: MIGRATION.md

A broader introduction to the matrixprofiler backend is available here.

Overview

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.

Installation

# 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")

Currently available Features

Roadmap

Other projects with Matrix Profile

Matrix Profile Foundation

Our next step unifying the Matrix Profile implementation in several programming languages.

Visit: Matrix Profile Foundation

Benchmarks

New benchmarks for the new package matrixprofiler is available at RPubs.

Package dependencies

Code of Conduct

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.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.