Comparing time series data like a pro
T this month’s coding tutorial will concentrate on Stumpy .This is a Python 3 library for working with time series data, which also uses the matrix profile. The matrix profile together with MPdist are research subjects that are being applied to real world problems. Although it’s good to know how they work, you don’t need to know the theory to use them. If some of the topics in this tutorial look too theoretical, feel free to skip them! This tutorial also includes a quick introduction to Anaconda, which comes in very handy for setting up the Python environment when working with Stumpy.
Anaconda management
Because Stumpy has close ties with the Python version being used, we’re going to use Anaconda to create the ideal development environment and gain complete control over the installation process. This requires the installation of Anaconda, which operates using the conda command line utility.
If the conda binary can’t be found in the PATH environment variable, you should run source /opt/anaconda/bin/activate root . Feel free to add this command to the startup file of your shell to ensure that it’s executed automatically each time you log in. To create a new Anaconda environment called LXFormat that uses Python 3.8.5, just run the following command: $ conda create --name LXFormat python=3.8.5
Then run
You’re reading a preview, subscribe to read more.
Start your free 30 days