tsfresh.examples package


tsfresh.examples.har_dataset module

This module implements functions to download and load the Human Activity Recognition dataset [4]. A description of the data set can be found in [5].


[5]Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra and Jorge L. Reyes-Ortiz. (2013) A Public Domain Dataset for Human Activity Recognition Using Smartphones. 21th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, ESANN 2013. Bruges, Belgium 24-26 April 2013.

Download human activity recognition dataset from UCI ML Repository and store it at /tsfresh/notebooks/data.


>>> from tsfresh.examples import har_dataset
>>> download_har_dataset()

tsfresh.examples.robot_execution_failures module

This module implements functions to download the Robot Execution Failures LP1 Data Set[1] and load it as as DataFrame.

Important: You need to download the data set yourself, either manually or via the function download_robot_execution_failures()


[2]Lichman, M. (2013). UCI Machine Learning Repository [http://mlr.cs.umass.edu/ml]. Irvine, CA: University of California, School of Information and Computer Science.
[3]Camarinha-Matos, L.M., L. Seabra Lopes, and J. Barata (1996). Integration and Learning in Supervision of Flexible Assembly Systems. “IEEE Transactions on Robotics and Automation”, 12 (2), 202-219

Download the Robot Execution Failures LP1 Data Set[1] from the UCI Machine Learning Repository[2] and store it locally. :return:


>>> from tsfresh.examples import download_robot_execution_failures
>>> download_robot_execution_failures_lp1()

Load the Robot Execution Failures LP1 Data Set[1]. The Time series are passed as a flat DataFrame.


>>> from tsfresh.examples import load_robot_execution_failures
>>> df, y = load_robot_execution_failures()
>>> print(df.shape)
(1320, 8)
Returns:time series data as pandas.DataFrame and target vector as pandas.Series
Return type:tuple

Module contents

Module with exemplary data sets to play around with.

See for eample the Quick Start section on how to use them.