{"id":19140636,"url":"https://github.com/matrix-profile-foundation/matrixprofiler","last_synced_at":"2025-05-06T23:17:01.847Z","repository":{"id":51079172,"uuid":"245009712","full_name":"matrix-profile-foundation/matrixprofiler","owner":"matrix-profile-foundation","description":"This is the core functions needed by the `tsmp` package. The low level and carefully checked mathematical functions are here. These are implementations of the Matrix Profile concept that was created by CS-UCR \u003chttp://www.cs.ucr.edu/~eamonn/MatrixProfile.html\u003e.","archived":false,"fork":false,"pushed_at":"2022-08-05T08:04:21.000Z","size":1511,"stargazers_count":10,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T23:16:56.487Z","etag":null,"topics":["algorithm","cran","matrix-profile","r","rcpp","time-series"],"latest_commit_sha":null,"homepage":"https://matrixprofile.org/matrixprofiler/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrix-profile-foundation.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-04T21:41:07.000Z","updated_at":"2025-01-08T20:25:50.000Z","dependencies_parsed_at":"2022-09-01T12:12:05.011Z","dependency_job_id":null,"html_url":"https://github.com/matrix-profile-foundation/matrixprofiler","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-profile-foundation%2Fmatrixprofiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-profile-foundation%2Fmatrixprofiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-profile-foundation%2Fmatrixprofiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-profile-foundation%2Fmatrixprofiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-profile-foundation","download_url":"https://codeload.github.com/matrix-profile-foundation/matrixprofiler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782835,"owners_count":21803410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","cran","matrix-profile","r","rcpp","time-series"],"created_at":"2024-11-09T07:18:17.852Z","updated_at":"2025-05-06T23:17:01.829Z","avatar_url":"https://github.com/matrix-profile-foundation.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"README\"\nauthor: \"Francisco Bischoff\\n\"\ndate: \"`r format(Sys.Date(), '%d %b %Y')`\"\noutput:\n  github_document:\n    md_extension: +blank_before_header\n    html_preview: false\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\n```\n\n\u003cimg src=\"man/figures/logo.png\" align=\"right\" style=\"float:right;\"/\u003e\n\n## Matrix Profile for R\n\n\u003c!-- badges: start --\u003e\n\n[![License](https://img.shields.io/badge/License-GPL--3.0-green.svg)](https://choosealicense.com/licenses/gpl-3.0/)\n[![lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n\n[![Lint](https://github.com/matrix-profile-foundation/matrixprofiler/workflows/Lint/badge.svg?branch=main)](https://github.com/jimhester/lintr)\n[![R-CMD-check](https://github.com/matrix-profile-foundation/matrixprofiler/workflows/R-CMD-check/badge.svg?branch=main)](https://r-pkgs.org/r-cmd-check.html)\n\n[![codecov](https://codecov.io/gh/matrix-profile-foundation/matrixprofiler/branch/main/graph/badge.svg?token=w7AmbwhNvn)](https://app.codecov.io/gh/matrix-profile-foundation/matrixprofiler)\n[![CodeQL](https://github.com/matrix-profile-foundation/matrixprofiler/workflows/CodeQL/badge.svg?branch=main)](https://github.com/github/codeql-action/)\n[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/matrix-profile-foundation/matrixprofiler.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/matrix-profile-foundation/matrixprofiler/context:cpp)\n\n[![CRAN version](https://www.r-pkg.org/badges/version/matrixprofiler)](https://cran.r-project.org/package=matrixprofiler)\n[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/matrixprofiler)](https://cran.r-project.org/package=matrixprofiler)\n\n\u003c!-- badges: end --\u003e\n\n### Overview\n\nR Functions implementing UCR Matrix Profile Algorithm (http://www.cs.ucr.edu/~eamonn/MatrixProfile.html).\n\nThis package will keep all core functions that will allow you to use the Matrix Profile concept as a toolkit.\n\nThis package provides (almost all) algorithms to build a Matrix Profile.\n\nThe package `tsmp` will still be developed as \"how we do data mining with Matrix Profile\", keeping all slow stuff to\nbe handled by this optimized package.\n\nThis will not be covered here, as it is a `tsmp` purpose:\n\n* Algorithms for MOTIF search for Unidimensional and Multidimensional Matrix Profiles.\n* Algorithm for Chains search for Unidimensional Matrix Profile.\n* Algorithms for Semantic Segmentation (FLUSS) and Weakly Labeled data (SDTS).\n* Algorithm for Salient Subsections detection allowing MDS plotting.\n* Basic plotting for all outputs generated here.\n\nYou can find the current `tsmp` package here: https://CRAN.R-project.org/package=tsmp\n\n### Installation\n\n```{r installation, gh-installation, eval = FALSE}\n# Install the released version from CRAN\ninstall.packages(\"matrixprofiler\")\n# Or the development version from GitHub:\n# install.packages(\"devtools\")\ndevtools::install_github(\"matrix-profile-foundation/matrixprofiler\")\n```\n\n### Currently available Features\n\n* STAMP (single and multi-thread versions)\n* STOMP (single and multi-thread versions)\n* SCRIMP (single and multi-thread versions, not for AB-joins yet)\n* MPX (single and multi-thread versions)\n* Misc:\n  * MASS v2.0\n  * MASS v3.0\n  * MASS extensions: UN (Unnormalized Query)\n  * MASS extensions: WQ (Weighted Query)\n  * MASS extensions: ABS (Absolute Query and Data)\n  * Window functions like mov_mean() and others.\n\n### On Roadmap\n\n* STOMPi (On-line version)\n* Multivariate STOMP (mSTOMP)\n* SiMPle-Fast (Fast Similarity Matrix Profile for Music Analysis and Exploration)\n* Exact Detection of Variable Length Motifs (VALMOD) (maybe will stay on `tsmp` package)\n* MPdist: Matrix Profile Distance\n* MASS extensions: ADP (Approximate Distance Profile, with PAA) (maybe)\n* MASS extensions: QwG (Query with Gap)\n\n\n### Will stay on TSMP package\n\n* Time Series Chains\n* Multivariate MOTIF Search (from mSTOMP)\n* Salient Subsequences search for Multidimensional Space\n* Scalable Dictionary learning for Time Series (SDTS) prediction\n* FLUSS (Fast Low-cost Unipotent Semantic Segmentation)\n* FLOSS (Fast Low-cost On-line Unipotent Semantic Segmentation)\n* Annotation vectors (e.g., Stop-word MOTIF bias, Actionability bias)\n* FLUSS Arc Plot and SiMPle Arc Plot\n* Time Series Snippets\n* Subsetting Matrix Profiles (`head()`, `tail()`, `[`, etc.)\n\n### Other projects with Matrix Profile\n\n* Python: https://github.com/target/matrixprofile-ts\n* Python: https://github.com/ZiyaoWei/pyMatrixProfile\n* Python: https://github.com/juanbeleno/owlpy\n* Python: https://github.com/javidlakha/matrix-profile\n* Python: https://github.com/shapelets/khiva-python\n* R: https://github.com/shapelets/khiva-r\n* Matlab: https://github.com/shapelets/khiva-matlab\n* Java: https://github.com/shapelets/khiva-java\n* Java: https://github.com/ensozos/Matrix-Profile\n* Kotlin: https://github.com/shapelets/khiva-kotlin\n* C++ (CUDA and OPENCL): https://github.com/shapelets/khiva\n* CUDA: https://github.com/zpzim/STOMPSelfJoin\n* CUDA: https://github.com/zpzim/SCAMP\n\n### Matrix Profile Foundation\n\nOur next step unifying the Matrix Profile implementation in several programming languages.\n\nVisit: [Matrix Profile Foundation](https://matrixprofile.org)\n\n\n### Benchmarks\n\nAvailable at [RPubs](https://rpubs.com/franzbischoff/matrixprofiler).\n\n### Package dependencies\n\n\u003ccenter\u003e\n\n```{r dependency_plot, echo = FALSE, fig.width = 5, fig.height = 5, message = FALSE, warning = FALSE, fig.path = \"man/figures/\"}\nsource(\"https://gist.githubusercontent.com/franzbischoff/3b83243dfdfa73e459935112f3f783e3/raw/239548243f984843b3a87d8cc82f99395a8ed26e/plot_dependencies.R\") # nolint\nplot_dependencies()\n```\n\n\u003c/center\u003e\n\n### Code of Conduct\n\nPlease note that the matrixprofiler project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).\nBy contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-profile-foundation%2Fmatrixprofiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-profile-foundation%2Fmatrixprofiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-profile-foundation%2Fmatrixprofiler/lists"}