Giter Club home page Giter Club logo

human_activity_segmentation_challenge's Introduction

Human Activity Segmentation Challenge @ ECML/PKDD'23

Time series segmentation (TSS) is a far too under-studied research field that plays a crucial role in many real-world data analysis workflows for energy consumption, climate change, or human activity recognition (HAR).

In a collaborative effort with 15 computer science students, we collected and annotated real-world human motion sensor data. We propose a TSS competition to partition the resulting 250 multi-variate TS into an a priori unknown amount of variable-sized activities. This could greatly increase the accuracy of HAR systems and would promote benchmarking in TSS.

This repository contains supporting materials, including the data set, Python data loaders and baselines for the challenge. The folder notebooks contains Jupyter notebooks to run the baselines on the challenge data. The labelled challenge data set is now available and stored in the datasets folder. This notebook explores the data.

Organization and Registration

This competition was hosted by the ECML/PKDD 2023 conference as a Discovery Challenge. It was organized using the Kaggle platform starting 11th April and ending 11th June. The results and top-2 winning solutions were presented at the AALTD workshop in September, 2023. This challenge has ended. We provide a summary of its organization and results in this paper.

Prerequisites

In order to run the baselines, you have to install the packages from requirements.txt.

pip install -r requirements.txt

You will need to install the following packages with segmentation algorithms to run all baselines:

aeon==0.1.0rc0, claspy, ruptures, stumpy

Human Activity Data

We collected a data set of 250 annotated twelve-dimensional multivariate TS, for a total of 10.7 hours, sampled at 50 Hertz (Hz). These TS contain between seven seconds and fourteen minutes - the median is median 100 seconds - of human motion data, capturing one to fifteen potentially recurring activities from a total of one hundred different ones, each lasting from half a second (for waiting) to ten minutes (for running). The data in this repository does not contain any labels. You may explore the data with the provided exploration.ipynb notebook.

Examples

The following two images show examples of the first two time series in the challenge data set.

image

image

Baselines

We provide code for six baseline codes in the notebooks folder:

  • Binary-Segmentation from ruptures
  • ClaSP from claspy
  • FLUSS from stumpy
  • GreedyGaussianSegmentation (GGS) from aeon
  • InformationGainSegmentation (IGTS) from aeon
  • STRAY from aeon

Segmentations

If we run ClaSP, FLUSS and BinSeg baselines on the y-axis acceleration channel of TS0, we get the following segmentation.

image image image

Citation

If you use the challenge data in your publication, please cite us as:

@inproceedings{segmentation_challenge,
	title={Human Activity Segmentation Challenge @ ECML/PKDD’23},
	author={Arik Ermshaus and Patrick Sch{\"a}fer and Anthony Bagnall and Thomas Guyet and Georgiana Ifrim and Vincent Lemaire and Ulf Leser and Colin Leverger and Simon Malinowski},
	booktitle={8th Workshop on Advanced Analytics and Learning on Temporal Data},
	year = {2023}
}

Powered By

  1. tslearn
  2. aeon

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

human_activity_segmentation_challenge's People

Contributors

ermshaua avatar patrickzib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.