Skip to main content

Finds and measures similar events defined across multiple variables

Project description

Build Status

N|Solid

N|Scheme


Multivariate Pattern Search [MPS] is a Seeq Add-on for multivariate search and similarity assessment. This Add-on supports both continuous and batch processes. In continuous mode, the Add-on finds multivariate profiles in time that are similar to a visually captured reference. In batch mode, the Add-on computes a multivariate similarity score per batch that allows the user to identify batches that are similar or dissimilar to a prespecified ‘golden’ reference set ('golden batches'). Additionally, MPS also provides a contribution score for each signal. This allows the user to determine which signals contributed to the observed similarity or dissimilarity and utilize that information for accelerated diagnostics/troubleshooting.


Documentation

Documentation for seeq-mps.


User Guide

seeq-MPS User Guide provides an in-depth explanation of reference search, batch analysis and how seeq-mps works. Examples of typical analyses using seeq-mps can be found in the section Use Cases.

The video below is a short demonstration of the MPS add-on

https://user-images.githubusercontent.com/5995501/156315178-a55b7a52-4ea5-46cb-8f52-d3f7d7998ab8.mp4


Installation

The backend of seeq-mps requires Python 3.7 or later.

Dependencies

See requirements.txt file for a list of dependencies and versions. Additionally, you will need to install the seeq module with the appropriate version that matches your Seeq server. For more information on the seeq module see seeq at pypi

User Installation Requirements (Seeq Data Lab)

If you want to install seeq-mps as a Seeq Add-on, you will need:

  • Seeq Data Lab (>=53.0.0 or >=R54.0.2)
  • seeq module whose version matches the Seeq server version
  • Seeq administrator access
  • Enable Add-on in the Seeq server

User Installation (Seeq Data Lab)

The latest build of the project can be found here as a wheel file. The file is published as a courtesy and does not imply any guarantee or obligation for support from the publisher.

  1. Create a new Seeq Data Lab project and open the Terminal window
  2. Run pip install seeq-mps
  3. Run python -m seeq.addons.mps

Follow the instructions when prompted. ("Username or Access Key" is what you use to log in to Seeq. "Password" is your password for logging into Seeq.)

There are additional Options for the addon installation. These include --users and --groups. These can be used to change permissions for the addon tool. For example to give permission to users me and you one would install the addon with as:

python -m seeq.addons.mps --users me you

Development

We welcome new contributors of all experience levels. The Development Guide has detailed information about contributing code, documentation, tests, etc.

Important links

Source code

You can get started by cloning the repository with the command:

git clone git@github.com:seeq12/seeq-mps.git

Installation from source

For development work, it is highly recommended creating a python virtual environment and install the package in that working environment. If you are not familiar with python virtual environments, you can take a look here

Once your virtual environment is activated, you can install requirements and seeq-mps from source with:

pip install -r requirements.txt
python setup.py install

Troubleshooting

If you experience the following error:

Exception: The compiled dtaidistance C library is not available. See the documentation for alternative installation
options.

It could be from a known issue from the package dtaidistance and C library availability, please follow their guide for troubleshooting: https://dtaidistance.readthedocs.io/en/latest/usage/installation.html

Testing

There are several types of testing available for seeq-mps

Automatic Testing

After installation, you can launch the test suite from the tests folder in the root directory of the project. You will need to have pytest >= 4.3.1 installed.

To run all tests:

pytest

User Interface Testing

To test the UI, use the developer_notebook.ipynb in the development folder of the project. This notebook can also be used while debugging from your IDE.


Changelog

The changelog can be found here


Support

Code related issues (e.g. bugs, feature requests) can be created in the issue tracker

Maintainer: James Higgie


Citation

Please cite this work as:

seeq-mps
Seeq Corporation, 2021
https://github.com/seeq12/seeq-mps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

seeq_mps-0.3.9-py3-none-any.whl (33.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page