All seminars are held at the Department of Automatic Control, in the seminar room M:2112B on the second floor in the M-building, unless stated otherwise.
MSc. presentation by F. Larsson and P. Hallqvist: Classifying Motion Patterns of Bikes using Machine Learning
Place: Seminar Room KC 3N27 at Dept. of Automatic Control, LTH
Contact: yiannis [dot] karayiannidis [at] control [dot] lth [dot] se
Save event to your calendar
Filip Larsson and Pontus Hallqvist are defending their Master Thesis at the Dept. of Automatic Control.
When: Wednesday March 1, 09:00-10:00
Where: Seminar Room KC 3N27 at Dept. of Automatic Control, LTH
Title: Classifying Motion Patterns of Bikes using Machine Learning
Students: Filip Larsson and Pontus Hallqvist
Supervisors: Gustav Träff, Martin Heyden and Stefan Noll, Bosch Nordic Yiannis Karayiannidis, Dept. Automatic Control, LTH
Examiner: Pontus Giselsson, Dept. Automatic Control, LTH
Abstract: Electric bikes have become ubiquitous in traffic, and with a growing user base and expensive prices, a demand for bike protection is increasing. Bike protection applications could include detecting and notifying the owner if their bike has been stolen or fallen over. This thesis aims to develop solutions for recognizing and classifying motion patterns of an electric bike to allow for improvements in bike protection applications. Using accelerometer, gyroscope and magnetometer data as input, machine learning models were developed to perform classification. The data was labeled to six classes of different motions and then normalized, split into time windows and featurized. The different machine learning models built and tested were KNN, CNN, LSTM and a combined CNN-LSTM network. Time windows with different lengths and overlaps were tested and evaluated to achieve the best accuracy possible. Lastly, a filter was applied to the output to correct misclassifications. To increase the understanding of how decisions were made by the models, Grad-CAM was applied to highlight what parts of the information the model found most crucial. By using the Grad-CAM heatmaps, it was found that the gyroscope data was the most influential for the model’s decisions. The model with the best performance was a CNN-LSTM combination network that uses a time window of 2 seconds and 75% overlap. It performed with an accuracy of 94.65%. When testing the best model with data from other bikes with different mounting positions, the accuracy was 35.23% indicating that different sensor placements or orientations changes the data in a way the current model cannot handle.