Linux Format

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.

More from Linux Format

Linux Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related