Loading...

Description

Assignment for a signal processing course taken at UoA. The task was to record time-series data during two different activities, extract relevant features from the data, and then create a decision model for a hypothetical health application. I chose to build an activity recognition model for classifying walking and running.

Process

I recorded linear accelerations from my phone during walking and running, pre-procesed the time-series data, and used tsfresh to extract relevant features. I then used a random forest classifier from scikit-learn to classify the two activities.

Learnings

The random forest classifier was evaluated using 10-times repeated 10-fold cross-validation and correctly classified all validation samples.