Walking or Jumping
A class project with two teammates: tell walking from jumping using a phone’s accelerometer. I wrote most of the code.
Project sourceHow it works
We recorded ourselves with the phyphox app. The code cuts each recording into five-second chunks, smooths them, and works out a few numbers per chunk (max, min, average, spread). A logistic regression model uses those to pick walking or jumping.

The desktop app
A small PyQt app: open a phyphox CSV, it labels each chunk, and you can save or plot the results.
Our first test was too easy
In the course we shuffled all the chunks before splitting off a test set, so the same people showed up in training and testing. After the course I retested it by training on two people and testing on the third.
| Actually | Predicted walking | Predicted jumping |
|---|---|---|
| Walking | 79 | 28 |
| Jumping | 12 | 88 |
167 of 207 right.