Skip to main content

tsfresh_ppi

This package provides some peak-to-peak interval (PPI) variability features to augment tsfresh [1]. Currently, tsfresh will find and count peaks using a couple of different methods. However, it does not measure the variability in timing between those peaks.

Installation

Option 1: Clone this repo. Install prereqs from requirements.txt. Then install the cloned directory, e.g. with pip3 install -e [repo path].

Option 2: Install directly from PyPI (tsfresh-ppi).

Usage

from tsfresh import extract_features
from tsfresh_ppi import get_fc_parameters

my_signal = ...  # some pandas DataFrame

# The default way to extract features with tsfresh looks something like this:
features = extract_features(
    my_signal,
    ...
)

# This is how to get all of the default tsfresh features, plus default PPI features:
fc_params_with_ppi = get_fc_parameters()
features = extract_features(
    my_signal,
    default_fc_parameters = fc_params_with_ppi,
    ...
)

References

[1] https://github.com/blue-yonder/tsfresh

Metadata

Release files for tsfresh-ppi 2021.8.29

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

Source distribution (sdist)

Source distribution for tsfresh-ppi 2021.8.29
File Size Uploaded
tsfresh_ppi-2021.8.29.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tsfresh-ppi 2021.8.29
File Interpreter ABI Platform
tsfresh_ppi-2021.8.29-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / tsfresh_ppi-2021.8.29.tar.gz

Download URL tsfresh_ppi-2021.8.29.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2c1106bc81a0215310eefa93d440a338a14f618d0cd4108609a8a6effa9dcde9
BLAKE2b-256 checksum
How to use checksums
cb719ae083189323ea5c6e7812142cb924c6b25a9428833ed2660edb71f2c476
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.7.2 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.10

Release files / tsfresh_ppi-2021.8.29-py3-none-any.whl

Download URL tsfresh_ppi-2021.8.29-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
557241c488257cde3c2f6c3bf9c3a011fa9cd100117fe03bbdfbde66d1cb02b8
BLAKE2b-256 checksum
How to use checksums
f0bbc1ad519668f6ac5a45b3642f8a50c164b54a0998e34a95ffe95b8cab0f5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.7.2 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

2021.8.29 This release

2 release files

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