Skip to main content

tsfresh extracts relevant characteristics from time series

Project description

Documentation Status Build Status Coverage Status license Gitter chat

tsfresh

This repository contains the TSFRESH python package. The abbreviation stands for

“Time Series Feature extraction based on scalable hypothesis tests”.

The package contains many feature extraction methods and a robust feature selection algorithm.

Spend less time on feature engineering

Data Scientists often spend most of their time either cleaning data or building features. While we cannot change the first thing, the second can be automated. TSFRESH frees your time spend on building features by extracting them automatically. Hence, you have more time to study the newest deep learning paper, read hacker news or build better models.

Automatic extraction of 100s of features

TSFRESH automatically extracts 100s of features from time series. Those features describe basic characteristics of the time series such as the number of peaks, the average or maximal value or more complex features such as the time reversal symmetry statistic.

The features extracted from a exemplary time series

The features extracted from a exemplary time series

The set of features can then be used to construct statistical or machine learning models on the time series to be used for example in regression or classification tasks.

Forget irrelevant features

Time series often contain noise, redundancies or irrelevant information. As a result most of the extracted features will not be useful for the machine learning task at hand.

To avoid extracting irrelevant features, the TSFRESH package has a built-in filtering procedure. This filtering procedure evaluates the explaining power and importance of each characteristic for the regression or classification tasks at hand.

It is based on the well developed theory of hypothesis testing and uses a multiple test procedure. As a result the filtering process mathematically controls the percentage of irrelevant extracted features.

The algorithm is described in the following paper

  • Christ, M., Kempa-Liehr, A.W. and Feindt, M. (2016). Distributed and parallel time series feature extraction for industrial big data applications. ArXiv e-print 1610.07717, https://arxiv.org/abs/1610.07717.

Advantages of tsfresh

TSFRESH has several selling points, for example

  1. it is field tested

  2. it is unit tested

  3. the filtering process is statistically/mathematically correct

  4. it has a comprehensive documentation

  5. it is compatible with sklearn, pandas and numpy

  6. it allows anyone to easily add his own favorite features

Futher Reading

If you are interested in the technical workings, go to see our comprehensive Read-The-Docs documentation at http://tsfresh.readthedocs.io.

The algorithm, especially the filtering part are also described in the paper mentioned above.

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

tsfresh-0.1.1.tar.gz (537.7 kB view details)

Uploaded Source

File details

Details for the file tsfresh-0.1.1.tar.gz.

File metadata

  • Download URL: tsfresh-0.1.1.tar.gz
  • Upload date:
  • Size: 537.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tsfresh-0.1.1.tar.gz
Algorithm Hash digest
SHA256 12ef1bbd37852c66ff46ac311a571b11e12e81d4aa8b571b9625625497c032ca
MD5 fc396c974b5afb1aacbc963fc5318173
BLAKE2b-256 aaf80285b679281691f8c11f5e5b201c89d8e2dcf228ec0e68a3ba90b4ad471f

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