⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Physical activity classification of biometric (IMU) data using machine learning

Notifications You must be signed in to change notification settings

jonl40/Biometric_Activity_Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biometric_Activity_Classifier

Physical activity classification of biometric (IMU) data using machine learning
Inertial measurement unit (IMU) data consists of accelerometer and gyroscope on x, y, z axises

Neural Network

Confusion matrix: activity classifier from phone biometric data

confusion_matrix_neural_net_Phone

Phone Neural Network Accuracy

Phone_Accuracy

Phone Neural Network Loss

Phone_Loss

SVM Results

Confusion matrix: activity classifier from phone biometric data

confusion_matrix_phone

Confusion matrix: activity classifier from smartwatch biometric data

confusion_matrix_watch

Analysis of phone biometric data

Accelerometer (m/s^2)

Scatter plot matrix

PCA_walking_accel_phone_histogram

Line graph first minute

walking_accel_phone

Gyroscope (radians/s)

Scatter plot matrix

PCA_walking_gyro_phone_histogram

Line graph first minute

walking_gyro_phone

Inertial measurement unit (IMU)

Scatter plot matrix

PCA_walking_imu_watch_histogram

Line graph first minute

walking_imu_phone

Notes:

Phone in pocket
Watch on wrist of dominant hand

20Hz sampling rate for phone and watch
~64800 samples -> ~54 minutes of data for each subject

Subject-id: unique to subject, Range: 1600-1650
ActivityLabel: unique activity, Range: A-S (no “N” value)
Timestamp: Integer, Linux time
x: x axis of sensor
y: y axis of sensor
z: z axis of sensor

Data Set Used

https://archive.ics.uci.edu/ml/datasets/WISDM+Smartphone+and+Smartwatch+Activity+and+Biometrics+Dataset+

References

Arduino Tiny ML tutorial for gesture recognition

https://colab.research.google.com/github/arduino/ArduinoTensorFlowLiteTutorials/blob/master/GestureToEmoji/arduino_tinyml_workshop.ipynb

https://blog.tensorflow.org/2019/11/how-to-get-started-with-machine.html

Helpful links

https://towardsdatascience.com/understanding-the-confusion-matrix-from-scikit-learn-c51d88929c79

https://en.wikipedia.org/wiki/Feature_scaling

About

Physical activity classification of biometric (IMU) data using machine learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages