mass algorithm python

Solutions on MaxInterview for mass algorithm python by the best coders in the world

showing results for - "mass algorithm python"
Santiago
11 Sep 2020
1>>> from matrixprofile import *
2>>> import numpy as np
3>>> a = np.array([0.0,1.0,1.0,0.0,0.0,1.0,1.0,0.0,0.0,1.0,1.0,0.0])
4>>> matrixProfile.stomp(a,4)
5(array([0., 0., 0., 0., 0., 0., 0., 0., 0.]), array([4., 5., 6., 7., 0., 1., 2., 3., 0.]))
6