Skip to main content

A library for efficiently processing a time series universe to determine causal features.

Project description

tsuniverse

PyPi

A library for efficiently processing a time series universe to determine causal features.

Dependencies :globe_with_meridians:

Python 3.11.6:

Raison D'être :thought_balloon:

tsuniverse aims take a universe of time series and figure out features from that universe that can be used to predict a single time series.

Architecture :triangular_ruler:

tsuniverse is a functional library, meaning that each phase of the feature extraction goes through functions without side-effects. It attempts to do as much multiprocessing as it can to make this process quicker. Each feature extraction is done in different phases, those phases are:

  1. Pearson Correlations.
  2. Mutual Information.
  3. Spearmans Rho.
  4. Kendalls Tau.
  5. Distance Correlations.

Installation :inbox_tray:

This is a python package hosted on pypi, so to install simply run the following command:

pip install tsuniverse

or install using this local repository:

python setup.py install --old-and-unmanageable

Usage example :eyes:

The use of tsuniverse is entirely through code due to it being a library. It attempts to hide most of its complexity from the user, so it only has a few functions of relevance in its outward API.

Generating Features

To generate features:

import datetime

import pandas as pd

from tsuniverse.process import process

df = ... # Your timeseries dataframe
features = process(df)

This will produce a list of features that you can produce with timeseries-features.

License :memo:

The project is available under the MIT License.

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

tsuniverse-0.0.9.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file tsuniverse-0.0.9.tar.gz.

File metadata

  • Download URL: tsuniverse-0.0.9.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for tsuniverse-0.0.9.tar.gz
Algorithm Hash digest
SHA256 b1e205ad59bbd8e1f83d52eb0ae5da40682c5cf83d27b3b788fd09221b80eaf6
MD5 db9727bd56347f1992fafcb248776f67
BLAKE2b-256 7750920e0f3cb57c6721fdb3fae1eb2d605a632f8367d37181610c3d9928b731

See more details on using hashes here.

Supported by

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