Python implementation of matrix profile algorithms (http://www.cs.ucr.edu/~eamonn/MatrixProfile.html).
Currently only STAMP is implemented. STOMP and SCRIMPT are coming soon, stay tuned!
There should be an API redesign coming - the usability isn't very good now, but you can run
>>> np.round(stmp(tsA = np.array([0.0, 1.0, -1.0, 0.0, 0.0]), tsB = np.array([-1, 1, 0, 0, -1, 1]), m = 4), 3)
array([[ 2., 2., 2.],
[ 0., 1., 0.]])
If you use this work, please consider citing the following paper, which this repository is based on:
If you are using R, check out this package by @franzbischoff: https://github.com/franzbischoff/Matrix-Profile