Microsoft HAR Dataset Preprocessing Code
May 23, 2022 ยท View on GitHub
This repository contains preprocessing codes of the microsoft exercise recognition from wearables sensor datasets. In the official repo, only the data is uploaded.
Here, I uploaded the matlab file to preprocess the exercise_data.50.0000_singleonly.mat file into csv file. Moreover, I uploaded a Jupyter notebook to preprocess the file
into a format for deep learning / machine learning application.
Steps to follow
- Download the
exercise_data.50.0000_singleonly.matfile from the above Microsoft official link. - Run the matlab file
process_matlab.m. This will save each user record into a csv file. Place all the generated files inraw_datadirectory. - Run through the
preprocess_ms_data.ipynbfile. Currently, I have chunked the data with a window size of 160.
Data Screenshot
