Skip to main content

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.
  6. HSIC.
  7. Stumpy.

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.

Metadata

Release files for tsuniverse 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsuniverse 0.0.12
File Size Uploaded Provenance
tsuniverse-0.0.12.tar.gz 9.0 kB Without provenance Details

Release files / tsuniverse-0.0.12.tar.gz

Download URL tsuniverse-0.0.12.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ac2887ee41a08960ac1a24a71af698d7d0c1e86360bc448ddff19626182720b7
BLAKE2b-256 checksum
How to use checksums
2f9d9c04c610c3333969515035e821e555e5eb8e7af1390e849df8b9369b14b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Security for tsuniverse 0.0.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page