Need help with matrixprofile?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

150 Stars 30 Forks Apache License 2.0 418 Commits 12 Opened issues


A Python 3 library making time series data mining tasks, utilizing matrix profile algorithms, accessible to everyone.

Services available


Need anything else?

Contributors list

.. image:: :target: :height: 300px :scale: 50% :alt: MPF Logo | | .. image:: :target: :alt: PyPI Version .. image:: :target: :alt: PyPI Downloads .. image:: :target: :alt: Conda Version .. image:: :target: :alt: Conda Downloads .. image:: :target: :alt: Code Coverage .. image:: :target: :alt: Azure Pipelines .. image:: :target: :alt: Build Status .. image:: :target: :alt: Platforms .. image:: :target: :alt: License .. image:: :target: :alt: Twitter .. image:: :target: :alt: Discord .. image:: :target: :alt: JOSSDOI .. image:: :target: :alt: ZenodoDOI


MatrixProfile is a Python 3 library, brought to you by the

Matrix Profile Foundation 
, for mining time series data. The Matrix Profile is a novel data structure with corresponding algorithms (stomp, regimes, motifs, etc.) developed by the
_ research groups at UC-Riverside and the University of New Mexico. The goal of this library is to make these algorithms accessible to both the novice and expert through standardization of core concepts, a simplistic API, and sensible default parameter values.

In addition to this Python library, the Matrix Profile Foundation, provides implementations in other languages. These languages have a pretty consistent API allowing you to easily switch between them without a huge learning curve.

  • tsmp 
    _ - an R implementation
  • go-matrixprofile 
    _ - a Golang implementation

Python Support

Currently, we support the following versions of Python:

  • 3.5
  • 3.6
  • 3.7
  • 3.8
  • 3.9

Python 2 is no longer supported. There are earlier versions of this library that support Python 2.


The easiest way to install this library is using pip or conda. If you would like to install it from source, please review the

installation documentation 
_ for your platform.

Installation with pip

.. code-block:: bash

pip install matrixprofile

Installation with conda

.. code-block:: bash

conda config --add channels conda-forge conda install matrixprofile

Getting Started

This article provides introductory material on the Matrix Profile:

Introduction to Matrix Profiles  

This article provides details about core concepts introduced in this library:

How To Painlessly Analyze Your Time Series  

Our documentation provides a

quick start guide 
_ documentation. It is the source of truth for getting up and running.


For details about the algorithms implemented, including performance characteristics, please refer to the


Getting Help

We provide a dedicated

Discord channel 
_ where practitioners can discuss applications and ask questions about the Matrix Profile Foundation libraries. If you rather not join Discord, then please open a
Github issue 


Please review the

contributing guidelines 
_ located in our documentation.

Code of Conduct

Please review our

Code of Conduct documentation 


All proper acknowledgements for works of others may be found in our

citation documentation 


Please cite this work using the

Journal of Open Source Software article 
Van Benschoten et al., (2020). MPA: a novel cross-language API for time series analysis. Journal of Open Source Software, 5(49), 2179,

.. code:: bibtex

@article{Van Benschoten2020,
    doi = {10.21105/joss.02179},
    url = {},
    year = {2020},
    publisher = {The Open Journal},
    volume = {5},
    number = {49},
    pages = {2179},
    author = {Andrew Van Benschoten and Austin Ouyang and Francisco Bischoff and Tyler Marrs},
    title = {MPA: a novel cross-language API for time series analysis},
    journal = {Journal of Open Source Software}

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.