Skip to main content

Signal Processing Tools for Machine Mearning

Project description

DAI-Lab An open source project from Data to AI Lab at MIT.

Development Status PyPi Shield Tests Downloads

SigPro: Signal Processing Tools for Machine Learning

Overview

SigPro offers an end-to-end solution to efficiently apply multiple signal processing techniques to convert raw time series into feature time series that encode the knowledge of domain experts in order to solve time series machine learning problems.

Install

Requirements

SigPro has been developed and tested on Python 3.8, 3.9, 3.10, and 3.11 on GNU/Linux and macOS systems.

Also, although it is not strictly required, the usage of a virtualenv is highly recommended in order to avoid interfering with other software installed in the system where SigPro is run.

Install with pip

The easiest and recommended way to install SigPro is using pip:

pip install sigpro

This will pull and install the latest stable release from PyPi.

If you want to install from source or contribute to the project please read the Contributing Guide.

User Guides

SigPro comes with the following user guides:

  • PRIMITIVES.md: Information about the primitive families, their expected input and output.
  • USAGE.md: Instructions about how to usee the three main functionalities of SigPro.
  • DEVELOPMENT.md: Step by step guide about how to write a valid SigPro primitive and contribute it to either SigPro or your own library.

History

0.2.0 - 2023-02-02

Features

  • Demo Notebooks for Pipeline usage - Issue #55 by @andyx13
  • Added contributing_primitive and basic_primitives module to assist with new primitive creation/usage - Issue #54 by @andyx13
  • Incorrect classification for stft.json and stft_real.json - Issue #53 by @andyx13
  • Support for more complex pipeline architectures - Issue #52 by @andyx13
  • Update primitive interfaces - Issue #51 by @andyx13
  • Syntax for pipeline creation - Issue #41 by @andyx13
  • Load demo dataset at random index - Issue #35 by @andyx13

0.1.2 - 2023-12-11

Features

  • Python version update - Issue #44 by @andyx13
  • Add demo notebook and per-primitive documentation - Issue #47 by @andyx13

0.1.1 - 2023-04-06

Features

  • Accepting single value data frame format - Issue #36 by @frances-h @sarahmish
  • Update demos - Issue #26 by @frances-h

0.1.0 - 2021-11-14

Features

  • Rework SigPro to be class based

0.0.3 - 2021-09-27

Features

  • Add process_signals function to take a collection of primitives and create features for the given data.

0.0.2 - 2021-02-05

Bug Fixes

  • MANIFEST.in: copy the json files of the primitives with the package installation.

0.0.1 - 2021-01-26

First release to PyPI.

This release comes with the first version of the contributing module, which makes it easier to create new primitives and to test those with the demo data included in this package.

This release also includes the following User Guides:

  • PRIMITIVES.md: Information about the primitive families, their expected input and output.
  • USAGE.md: Instructions about how to usee the three main functionalities of SigPro.
  • DEVELOPMENT.md: Step by step guide about how to write a valid SigPro primitive and contribute it to either SigPro or your own library.

Features

  • Demo data: Available demo data to test primitives.
  • First primitives: The following list of primitives were added:
    • sigpro.aggregations.amplitude.statistical.crest_factor
    • sigpro.aggregations.amplitude.statistical.kurtosis
    • sigpro.aggregations.amplitude.statistical.mean
    • sigpro.aggregations.amplitude.statistical.rms
    • sigpro.aggregations.amplitude.statistical.skew
    • sigpro.aggregations.amplitude.statistical.std
    • sigpro.aggregations.amplitude.statistical.var
    • sigpro.transformations.amplitude.identity.identity
    • sigpro.transformations.frequency.fft.fft
    • sigpro.transformations.frequency.fft.fft_real
    • sigpro.transformations.frequency_time.stft.stft
    • sigpro.transformations.frequency_time.stft.stft_real
  • Contributing module.
  • Documentation on how to contribute new primitives and how to run those.

Project details


Download files

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

Source Distribution

sigpro-0.2.1.dev0.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

sigpro-0.2.1.dev0-py2.py3-none-any.whl (2.8 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file sigpro-0.2.1.dev0.tar.gz.

File metadata

  • Download URL: sigpro-0.2.1.dev0.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.10.0 requests/2.31.0 setuptools/68.2.2 requests-toolbelt/1.0.0 tqdm/4.66.2 CPython/3.9.19

File hashes

Hashes for sigpro-0.2.1.dev0.tar.gz
Algorithm Hash digest
SHA256 825cbf2845d572cd8972025be74a630052bc0af73673f2b5f316b1079eab0869
MD5 ed436f9de6c2c4f5a08d5713c9dced20
BLAKE2b-256 75605f3068238c3aaea00e65c28c9b468a50a70ff8d2e45492a56c7c2e494c5a

See more details on using hashes here.

File details

Details for the file sigpro-0.2.1.dev0-py2.py3-none-any.whl.

File metadata

  • Download URL: sigpro-0.2.1.dev0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.10.0 requests/2.31.0 setuptools/68.2.2 requests-toolbelt/1.0.0 tqdm/4.66.2 CPython/3.9.19

File hashes

Hashes for sigpro-0.2.1.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 607ec4bfec8701139b15be6f6823403b09a3fba8d61df8b2cc3170725d771d2f
MD5 9dc6e13d97286cd2d6f5c8a5435b15ac
BLAKE2b-256 39012614331dc09bb717d358bb63cfde2c3f97210408c4ca70e85690a80767b7

See more details on using hashes here.

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